We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 657d4ca commit 77242d8Copy full SHA for 77242d8
src/main/scala/io/iohk/ethereum/ledger/BlockImport.scala
@@ -151,7 +151,11 @@ class BlockImport(
151
parentHash = parent.header.parentHash
152
parentWeight <- blockchain.getChainWeightByHash(parentHash)
153
} yield {
154
- log.debug("Removing blocks starting from {}", bestNumber)
+ log.debug(
155
+ "Removing blocks starting from number {} and parent {}",
156
+ bestNumber,
157
+ ByteStringUtils.hash2string(parentHash)
158
+ )
159
val oldBlocksData = removeBlocksUntil(parentHash, bestNumber).reverse
160
oldBlocksData.foreach(block => blockQueue.enqueueBlock(block.block))
161
handleBlockExecResult(newBranch, parentWeight, oldBlocksData)
0 commit comments