temporary fix for "inverse" malleability.
This commit is contained in:
parent
4f715d86c7
commit
2b41cfb9bd
@ -691,13 +691,6 @@ Mempool.prototype.addTX = function addTX(tx, callback, force) {
|
||||
}
|
||||
|
||||
if (this.requireStandard) {
|
||||
if (!tx.isStandard(ret)) {
|
||||
return callback(new VerifyError(tx,
|
||||
'nonstandard',
|
||||
ret.reason,
|
||||
ret.score));
|
||||
}
|
||||
|
||||
if (!this.chain.csvActive && tx.version >= 2) {
|
||||
return callback(new VerifyError(tx,
|
||||
'nonstandard',
|
||||
@ -715,6 +708,15 @@ Mempool.prototype.addTX = function addTX(tx, callback, force) {
|
||||
}
|
||||
}
|
||||
|
||||
if (this.requireStandard) {
|
||||
if (!tx.isStandard(ret)) {
|
||||
return callback(new VerifyError(tx,
|
||||
'nonstandard',
|
||||
ret.reason,
|
||||
ret.score));
|
||||
}
|
||||
}
|
||||
|
||||
this.chain.checkFinal(this.chain.tip, tx, lockFlags, function(err, isFinal) {
|
||||
if (err)
|
||||
return callback(err);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user