From 1103eb9dd8d1ef16ce9f48a389f3042298c8c6f1 Mon Sep 17 00:00:00 2001 From: Chris Kleeschulte Date: Tue, 10 Oct 2017 14:11:21 -0400 Subject: [PATCH] Mainchain will always be true. --- lib/blocks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/blocks.js b/lib/blocks.js index a534c51..89d6113 100644 --- a/lib/blocks.js +++ b/lib/blocks.js @@ -151,7 +151,7 @@ BlockController.prototype.transformBlock = function(block, info) { previousblockhash: info.prevHash, nextblockhash: info.nextHash, reward: this.getBlockReward(block.txs[0]), - isMainChain: block.isMainChain, + isMainChain: true, poolInfo: this.getPoolInfo(block.txs[0]) }; };