From 842ef9e45bbda8578f096decc4469fc6cbd2a8c7 Mon Sep 17 00:00:00 2001 From: Goran Rojovic Date: Fri, 9 Feb 2024 16:55:18 +0100 Subject: [PATCH] SelfDestruct fix --- state/executor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/state/executor.go b/state/executor.go index a7beb114af..e2e69cc7ca 100644 --- a/state/executor.go +++ b/state/executor.go @@ -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) }