From 74b1562a87f6478931d98ffde9bc1ad069ab3b79 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Mon, 4 Jan 2016 16:33:11 -0800 Subject: [PATCH] network: fix checkpoints. --- lib/bcoin/protocol/network.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/bcoin/protocol/network.js b/lib/bcoin/protocol/network.js index b45c1532..8c886c19 100644 --- a/lib/bcoin/protocol/network.js +++ b/lib/bcoin/protocol/network.js @@ -74,7 +74,7 @@ main.checkpoints = [ main.checkpoints = main.checkpoints.reduce(function(out, block) { out[block.height] = utils.revHex(block.hash); - return block.height; + return block; }, {}); main.checkpoints.tsLastCheckpoint = 1397080064; @@ -158,7 +158,7 @@ testnet.checkpoints = [ testnet.checkpoints = testnet.checkpoints.reduce(function(out, block) { out[block.height] = utils.revHex(block.hash); - return block.height; + return block; }, {}); testnet.checkpoints.tsLastCheckpoint = 1338180505;