We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c786c0f commit 111885eCopy full SHA for 111885e
Sources/Web3Core/Structure/SECP256k1.swift
@@ -83,7 +83,7 @@ extension SECP256K1 {
83
return serializedKey
84
}
85
86
- internal static func recoverPublicKey(hash: Data, recoverableSignature: input secp256k1_ecdsa_recoverable_signature) -> secp256k1_pubkey? {
+ internal static func recoverPublicKey(hash: Data, recoverableSignature: inout secp256k1_ecdsa_recoverable_signature) -> secp256k1_pubkey? {
87
guard let context = context, hash.count == 32 else { return nil }
88
var publicKey: secp256k1_pubkey = secp256k1_pubkey()
89
let result = hash.withUnsafeBytes { (hashRawBufferPointer: UnsafeRawBufferPointer) -> Int32? in
0 commit comments