Skip to content

Commit c786c0f

Browse files
authored
revert change
1 parent 7f5e70e commit c786c0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Web3Core/Structure/SECP256k1.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ extension SECP256K1 {
124124
return publicKey
125125
}
126126

127-
public static func serializePublicKey(publicKey: input secp256k1_pubkey, compressed: Bool = false) -> Data? {
127+
public static func serializePublicKey(publicKey: inout secp256k1_pubkey, compressed: Bool = false) -> Data? {
128128
guard let context = context else { return nil }
129129
var keyLength = compressed ? 33 : 65
130130
var serializedPubkey = Data(repeating: 0x00, count: keyLength)

0 commit comments

Comments
 (0)