Skip to content

Commit 81357c5

Browse files
committed
address review
Signed-off-by: Sara Tavares <[email protected]>
1 parent 8954763 commit 81357c5

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
@@ -211,7 +211,7 @@ extension SECP256K1 {
211211
var serializedSignature = Data(repeating: 0x00, count: 64)
212212
var v: Int32 = 0
213213
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 {
215215
let signaturePointer = signatureRawPointer.assumingMemoryBound(to: UInt8.self)
216216
return withUnsafePointer(to: &recoverableSignature) { (signaturePointer: UnsafePointer<secp256k1_ecdsa_recoverable_signature>) -> Int32 in
217217
withUnsafeMutablePointer(to: &v) { (vPtr: UnsafeMutablePointer<Int32>) -> Int32 in

0 commit comments

Comments
 (0)