fix spv option check.
This commit is contained in:
parent
8860eb5894
commit
f171bb0668
@ -520,7 +520,7 @@ Chain.prototype._verify = function _verify(block, prev, callback) {
|
|||||||
self.segwitActive = state.segwit;
|
self.segwitActive = state.segwit;
|
||||||
|
|
||||||
// Can't verify any further when merkleblock or headers.
|
// Can't verify any further when merkleblock or headers.
|
||||||
if (this.options.spv)
|
if (self.options.spv)
|
||||||
return callback(null, state.flags);
|
return callback(null, state.flags);
|
||||||
|
|
||||||
// Make sure the height contained in the coinbase is correct.
|
// Make sure the height contained in the coinbase is correct.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user