do not and locktimes.
This commit is contained in:
parent
8f3f174b25
commit
ea512ab9aa
@ -1488,7 +1488,7 @@ Script.prototype.execute = function execute(stack, flags, tx, index, version) {
|
||||
if (locktime.cmpn(0) < 0)
|
||||
throw new ScriptError('NEGATIVE_LOCKTIME', op, ip);
|
||||
|
||||
locktime = locktime.uand(utils.U32).toNumber();
|
||||
locktime = locktime.toNumber();
|
||||
|
||||
if (!Script.checkLocktime(locktime, tx, index))
|
||||
throw new ScriptError('UNSATISFIED_LOCKTIME', op, ip);
|
||||
@ -1514,7 +1514,7 @@ Script.prototype.execute = function execute(stack, flags, tx, index, version) {
|
||||
if (locktime.cmpn(0) < 0)
|
||||
throw new ScriptError('NEGATIVE_LOCKTIME', op, ip);
|
||||
|
||||
locktime = locktime.uand(utils.U32).toNumber();
|
||||
locktime = locktime.toNumber();
|
||||
|
||||
if ((locktime & constants.sequence.DISABLE_FLAG) !== 0)
|
||||
break;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user