diff --git a/lib/blockchain/chain.js b/lib/blockchain/chain.js index 63b7535ac..524599d01 100644 --- a/lib/blockchain/chain.js +++ b/lib/blockchain/chain.js @@ -129,6 +129,8 @@ class Chain extends AsyncEmitter { const {treeInterval} = this.network.names; const last = this.height - (this.height % treeInterval); + this.logger.info('Synchronizing Tree with block history...'); + for (let height = last + 1; height <= this.height; height++) { const entry = await this.db.getEntryByHeight(height); assert(entry);