diff --git a/lib/chain/chaindb.js b/lib/chain/chaindb.js index 1aea35f8..46583747 100644 --- a/lib/chain/chaindb.js +++ b/lib/chain/chaindb.js @@ -591,24 +591,6 @@ ChainDB.prototype.save = co(function* save(entry, block, view) { yield this.commit(); }); -/** - * Retrieve the chain state. - * @returns {Promise} - Returns {@link ChainState}. - */ - -ChainDB.prototype.initState = co(function* initState() { - var data = yield this.db.get(layout.R); - var state; - - assert(data); - - state = ChainState.fromRaw(data); - - this.state = state; - - return state; -}); - /** * Retrieve the tip entry from the tip record. * @returns {Promise} - Returns {@link ChainEntry}.