Skip to content

Commit

Permalink
SelfDestruct fix
Browse files Browse the repository at this point in the history
  • Loading branch information
goran-ethernal committed Feb 9, 2024
1 parent 97a8454 commit 859d073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion state/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -1096,7 +1096,7 @@ func (t *Transition) GetNonce(addr types.Address) uint64 {
}

func (t *Transition) Selfdestruct(addr types.Address, beneficiary types.Address) {
if !t.state.HasSuicided(addr) {
if !t.config.London && !t.state.HasSuicided(addr) {
t.state.AddRefund(24000)
}

Expand Down

0 comments on commit 859d073

Please sign in to comment.