diff --git a/lib/block/blockheader.js b/lib/block/blockheader.js index ddef34f..64aae67 100644 --- a/lib/block/blockheader.js +++ b/lib/block/blockheader.js @@ -9,7 +9,8 @@ var Hash = require('../crypto/hash'); var JSUtil = require('../util/js'); var $ = require('../util/preconditions'); -var GENESIS_BITS = 0x1f07ffff; +// Mainnet 0x1f07ffff, Testnet 0x2007ffff +var GENESIS_BITS = 0x2007ffff; /** * Instantiate a BlockHeader from a Buffer, JSON object, or Object with