From d5c9c31534c6e8531652e51ca047c5da447aee9a Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Mon, 9 May 2016 09:29:50 -0700 Subject: [PATCH] fix spv again. --- lib/bcoin/chain.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bcoin/chain.js b/lib/bcoin/chain.js index ff0f7e42..1b16b395 100644 --- a/lib/bcoin/chain.js +++ b/lib/bcoin/chain.js @@ -525,7 +525,7 @@ Chain.prototype._verify = function _verify(block, prev, callback) { // Can't verify any further when merkleblock or headers. if (self.options.spv) - return callback(null, state.flags); + return callback(null, state); // Make sure the height contained in the coinbase is correct. if (state.coinbaseHeight) {