chain/tx: fixes.
This commit is contained in:
parent
33bda01d21
commit
ac70656e71
@ -974,7 +974,7 @@ Chain.prototype.setBestChain = co(function* setBestChain(entry, block, prev, fla
|
||||
// block is in the chain.
|
||||
try {
|
||||
result = yield this.verifyContext(block, prev, flags);
|
||||
} catch (e) {
|
||||
} catch (err) {
|
||||
if (err.type === 'VerifyError') {
|
||||
if (!err.malleated)
|
||||
this.setInvalid(entry.hash);
|
||||
|
||||
@ -1660,7 +1660,7 @@ TX.prototype.hasStandardWitness = function hasStandardWitness(view) {
|
||||
}
|
||||
}
|
||||
|
||||
return ret;
|
||||
return true;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user