Skip to content

Commit 111885e

Browse files
authored
revert change
1 parent c786c0f commit 111885e

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
@@ -83,7 +83,7 @@ extension SECP256K1 {
8383
return serializedKey
8484
}
8585

86-
internal static func recoverPublicKey(hash: Data, recoverableSignature: input secp256k1_ecdsa_recoverable_signature) -> secp256k1_pubkey? {
86+
internal static func recoverPublicKey(hash: Data, recoverableSignature: inout secp256k1_ecdsa_recoverable_signature) -> secp256k1_pubkey? {
8787
guard let context = context, hash.count == 32 else { return nil }
8888
var publicKey: secp256k1_pubkey = secp256k1_pubkey()
8989
let result = hash.withUnsafeBytes { (hashRawBufferPointer: UnsafeRawBufferPointer) -> Int32? in

0 commit comments

Comments
 (0)