Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

Commit

Permalink
Merge pull request #235 from matiu/update-tests-checkseqver-cleanstack
Browse files Browse the repository at this point in the history
Update tests checkseqver cleanstack
  • Loading branch information
matiu authored Nov 30, 2018
2 parents a8e26c5 + 34499ab commit 46c6501
Show file tree
Hide file tree
Showing 8 changed files with 2,918 additions and 1,536 deletions.
12 changes: 0 additions & 12 deletions lib/crypto/bn.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,18 +172,6 @@ BN.prototype.toScriptNumBuffer = function() {
});
};

BN.prototype.gt = function(b) {
return this.cmp(b) > 0;
};

BN.prototype.gte = function(b) {
return this.cmp(b) >= 0;
};

BN.prototype.lt = function(b) {
return this.cmp(b) < 0;
};

BN.trim = function(buf, natlen) {
return buf.slice(natlen - buf.length, buf.length);
};
Expand Down
1 change: 1 addition & 0 deletions lib/opcode.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ Opcode.map = {
OP_CHECKMULTISIGVERIFY: 175,

OP_CHECKLOCKTIMEVERIFY: 177,
OP_CHECKSEQUENCEVERIFY: 178,

// expansion
OP_NOP1: 176,
Expand Down
Loading

0 comments on commit 46c6501

Please sign in to comment.