diff --git a/node/src/main/scala/com/wavesplatform/state/BlockchainUpdaterImpl.scala b/node/src/main/scala/com/wavesplatform/state/BlockchainUpdaterImpl.scala index 75da070830..e137b378c1 100644 --- a/node/src/main/scala/com/wavesplatform/state/BlockchainUpdaterImpl.scala +++ b/node/src/main/scala/com/wavesplatform/state/BlockchainUpdaterImpl.scala @@ -276,6 +276,10 @@ class BlockchainUpdaterImpl( BlockStats.replaced(ng.base, block) val (mbs, diffs) = ng.allSnapshots.unzip log.trace(s"Discarded microblocks = $mbs, diffs = ${diffs.map(_.hashString)}") + + val updatedBlockchain = SnapshotBlockchain(referencedBlockchain, r.snapshot, block, hitSource, r.carry, None, None) + miner.scheduleMining(Some(updatedBlockchain)) + blockchainUpdateTriggers.onRollback(this, ng.base.header.reference, rocksdb.height) blockchainUpdateTriggers.onProcessBlock(block, r.keyBlockSnapshot, ng.reward, hitSource, referencedBlockchain) Some((r, diffs, ng.reward, hitSource))