From 71934a22f1d2d8a3e7a106a214a5fc7924ba3721 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Wed, 1 Jun 2016 23:34:42 -0700 Subject: [PATCH] more accurate ComputeBlockVersion. --- lib/bcoin/chain.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/bcoin/chain.js b/lib/bcoin/chain.js index f376c08b..8b9ce7c3 100644 --- a/lib/bcoin/chain.js +++ b/lib/bcoin/chain.js @@ -2315,9 +2315,6 @@ Chain.prototype.computeBlockVersion = function computeBlockVersion(prev, callbac if (err) return callback(err); - if (version === 0) - return callback(null, constants.versionbits.LAST_OLD_BLOCK_VERSION); - version |= constants.versionbits.TOP_BITS; version >>>= 0;