mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-19 19:30:44 +00:00
core: undo unnecessary fix
This commit is contained in:
parent
3f24128b89
commit
ae25892c8a
1 changed files with 1 additions and 1 deletions
|
|
@ -1079,7 +1079,7 @@ func (st *stateTransition) applyAuthorization(rules params.Rules, auth *types.Se
|
|||
track.written = true
|
||||
}
|
||||
// Durable state growth of the new account
|
||||
if !st.state.Exist(authority) {
|
||||
if st.state.Empty(authority) {
|
||||
cost.StateGas += params.AccountCreationSize * st.evm.Context.CostPerStateByte
|
||||
}
|
||||
// Charge the net-new indicator bytes at most once per authority;
|
||||
|
|
|
|||
Loading…
Reference in a new issue