Skip to content

Commit 85f5945

Browse files
committed
base on prague fork
1 parent ad7967d commit 85f5945

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/ethereum/prague/state.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -496,11 +496,7 @@ def is_account_alive(state: State, address: Address) -> bool:
496496
if account is None:
497497
return False
498498
else:
499-
return not (
500-
account.nonce == Uint(0)
501-
and account.code == b""
502-
and account.balance == 0
503-
)
499+
return not account == EMPTY_ACCOUNT
504500

505501

506502
def modify_state(

0 commit comments

Comments
 (0)