File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Sources/Web3Core/Structure Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ extension SECP256K1 {
211
211
var serializedSignature = Data ( repeating: 0x00 , count: 64 )
212
212
var v : Int32 = 0
213
213
let result = serializedSignature. withUnsafeMutableBytes { ( signatureRawBufferPointer: UnsafeMutableRawBufferPointer ) -> Int32 ? in
214
- if let setSignatureRawPointer = setSignatureRawBufferPointer . baseAddress, setSignatureRawBufferPointer . count > 0 {
214
+ if let signatureRawPointer = signatureRawBufferPointer . baseAddress, signatureRawBufferPointer . count > 0 {
215
215
let signaturePointer = signatureRawPointer. assumingMemoryBound ( to: UInt8 . self)
216
216
return withUnsafePointer ( to: & recoverableSignature) { ( signaturePointer: UnsafePointer < secp256k1_ecdsa_recoverable_signature > ) -> Int32 in
217
217
withUnsafeMutablePointer ( to: & v) { ( vPtr: UnsafeMutablePointer < Int32 > ) -> Int32 in
You can’t perform that action at this time.
0 commit comments