Skip to content

Commit

Permalink
correct der signature length
Browse files Browse the repository at this point in the history
  • Loading branch information
hvthhien committed Mar 1, 2021
1 parent d1ad601 commit 6fb1957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/secp256k1-swift/Secp256k1.swift
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ extension Secp256k1.Signing {
secp256k1_context_destroy(context)
}

var derSize: Int = 71
var derSize: Int = 72
var derSignature = [UInt8](repeating: 0, count: derSize)
var cSig = secp256k1_ecdsa_signature()

Expand Down

0 comments on commit 6fb1957

Please sign in to comment.