File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/main/scala/io/iohk/ethereum/ledger Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -60,8 +60,9 @@ class BlockExecution(
60
60
.getBlockHeaderByHash(block.header.parentHash)
61
61
.toRight(MissingParentError ) // Should not never occur because validated earlier
62
62
execResult <- executeBlockTransactions(block, parent)
63
- worldToPersist <- Either .catchOnly[Throwable ](blockPreparator.payBlockReward(block, execResult.worldState))
64
- .leftMap(BlockExecutionError .MPTError .apply)
63
+ worldToPersist <- Either
64
+ .catchOnly[Throwable ](blockPreparator.payBlockReward(block, execResult.worldState))
65
+ .leftMap(BlockExecutionError .MPTError .apply)
65
66
// State root hash needs to be up-to-date for validateBlockAfterExecution
66
67
worldPersisted = InMemoryWorldStateProxy .persistState(worldToPersist)
67
68
} yield execResult.copy(worldState = worldPersisted)
You can’t perform that action at this time.
0 commit comments