Skip to content

Commit fe0c1bf

Browse files
committed
Scalafmt
1 parent bf28b94 commit fe0c1bf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/scala/io/iohk/ethereum/ledger/BlockExecution.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,9 @@ class BlockExecution(
6060
.getBlockHeaderByHash(block.header.parentHash)
6161
.toRight(MissingParentError) // Should not never occur because validated earlier
6262
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)
6566
// State root hash needs to be up-to-date for validateBlockAfterExecution
6667
worldPersisted = InMemoryWorldStateProxy.persistState(worldToPersist)
6768
} yield execResult.copy(worldState = worldPersisted)

0 commit comments

Comments
 (0)