set height on genesis block.
This commit is contained in:
parent
aefe60b6d4
commit
9f0d90f5a9
@ -145,7 +145,7 @@ ChainDB.prototype._init = function _init() {
|
||||
}, null);
|
||||
|
||||
block = bcoin.block.fromRaw(network.genesisBlock, 'hex');
|
||||
block.height = 0;
|
||||
block.setHeight(0);
|
||||
|
||||
self.save(genesis, block, true, finish);
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user