diff --git a/lib/http/rpc.js b/lib/http/rpc.js index 7411e1df..17592306 100644 --- a/lib/http/rpc.js +++ b/lib/http/rpc.js @@ -1451,8 +1451,9 @@ RPC.prototype._submitblock = co(function* submitblock(block) { }); RPC.prototype.__submitblock = co(function* submitblock(block) { - if (block.prevBlock !== this.chain.tip.hash) - return 'rejected: inconclusive-not-best-prevblk'; + this.logger.info('Handling submitted block: %s.', block.rhash()); + this.logger.debug('Coinbase:'); + this.logger.debug(block.txs[0]); try { yield this.chain.add(block);