Skip to content

Commit 5bb74ca

Browse files
committed
fixed one off bug
1 parent 5a4ec08 commit 5bb74ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/signature.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ func compressPublicKey(pubKey []byte) []byte {
143143
return pubKey
144144
}
145145

146-
if (pubKey[63] & 1) == 1 {
146+
if (pubKey[64] & 1) == 1 {
147147
pubKey[0] = 3
148148
} else {
149149
pubKey[0] = 2

0 commit comments

Comments
 (0)