Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinxie committed Mar 25, 2024
1 parent e13a843 commit b482680
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions action/protocol/execution/evm/evmstatedbadapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -457,11 +457,9 @@ func (stateDB *StateDBAdapter) Suicide(evmAddr common.Address) bool {
})
}
} else {

Check warning on line 459 in action/protocol/execution/evm/evmstatedbadapter.go

View check run for this annotation

Codecov / codecov/patch

action/protocol/execution/evm/evmstatedbadapter.go#L459

Added line #L459 was not covered by tests
if stateDB.suicideTxLogMismatchPanic {
log.L().Panic("suicide contract's balance does not match",
zap.String("suicide", actBalance.String()),
zap.String("beneficiary", stateDB.lastAddBalanceAmount.String()))
}
log.L().Panic("suicide contract's balance does not match",
zap.String("suicide", actBalance.String()),
zap.String("beneficiary", stateDB.lastAddBalanceAmount.String()))
}
}
// mark it as deleted
Expand Down

0 comments on commit b482680

Please sign in to comment.