more accurate ComputeBlockVersion.

This commit is contained in:
Christopher Jeffrey 2016-06-01 23:34:42 -07:00
parent a09c7365aa
commit 71934a22f1
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -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;