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