mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-19 11:20:45 +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
|
track.written = true
|
||||||
}
|
}
|
||||||
// Durable state growth of the new account
|
// 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
|
cost.StateGas += params.AccountCreationSize * st.evm.Context.CostPerStateByte
|
||||||
}
|
}
|
||||||
// Charge the net-new indicator bytes at most once per authority;
|
// Charge the net-new indicator bytes at most once per authority;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue