diff --git a/lib/chain/chaindb.js b/lib/chain/chaindb.js index cad325a3..f7ad8672 100644 --- a/lib/chain/chaindb.js +++ b/lib/chain/chaindb.js @@ -1271,7 +1271,7 @@ ChainDB.prototype.reset = co(function* reset(block) { tip = yield this.getTip(); - while (tip) { + while (tip && !tip.isGenesis()) { this.start(); if (tip.hash === entry.hash) {