Skip to content

Commit

Permalink
Change public key to public
Browse files Browse the repository at this point in the history
  • Loading branch information
lmcmz committed Dec 4, 2021
1 parent 42fe379 commit 27ea8a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/Flow/Models/Signer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ extension Flow {
public struct PublicKey: FlowEntity, Equatable {
public var data: Data

init(hex: String) {
public init(hex: String) {
data = hex.hexValue.data
}

init(data: Data) {
public init(data: Data) {
self.data = data
}

init(bytes: [UInt8]) {
public init(bytes: [UInt8]) {
data = bytes.data
}
}
Expand Down

0 comments on commit 27ea8a1

Please sign in to comment.