Skip to content

Commit d5888f1

Browse files
author
Bernard Snowden
committed
fix object spread syntax in schnorr verify()
1 parent a209e98 commit d5888f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/bitcore-lib-cash/lib/crypto/schnorr.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ Schnorr.prototype._findSignature = function(d, e) {
198198
return Schnorr().set({
199199
hashbuf: hashbuf,
200200
endian: endian,
201-
sig: {...sig, isSchnorr: true },
201+
sig: sig,
202202
pubkey: pubkey
203203
}).verify().verified;
204204
};

0 commit comments

Comments
 (0)