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

Commit 46c6501

Browse files
authored
Merge pull request #235 from matiu/update-tests-checkseqver-cleanstack
Update tests checkseqver cleanstack
2 parents a8e26c5 + 34499ab commit 46c6501

File tree

8 files changed

+2918
-1536
lines changed

8 files changed

+2918
-1536
lines changed

lib/crypto/bn.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -172,18 +172,6 @@ BN.prototype.toScriptNumBuffer = function() {
172172
});
173173
};
174174

175-
BN.prototype.gt = function(b) {
176-
return this.cmp(b) > 0;
177-
};
178-
179-
BN.prototype.gte = function(b) {
180-
return this.cmp(b) >= 0;
181-
};
182-
183-
BN.prototype.lt = function(b) {
184-
return this.cmp(b) < 0;
185-
};
186-
187175
BN.trim = function(buf, natlen) {
188176
return buf.slice(natlen - buf.length, buf.length);
189177
};

lib/opcode.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ Opcode.map = {
197197
OP_CHECKMULTISIGVERIFY: 175,
198198

199199
OP_CHECKLOCKTIMEVERIFY: 177,
200+
OP_CHECKSEQUENCEVERIFY: 178,
200201

201202
// expansion
202203
OP_NOP1: 176,

0 commit comments

Comments
 (0)