Skip to content

Commit

Permalink
Remove unused condition
Browse files Browse the repository at this point in the history
  • Loading branch information
ulbqb committed Dec 9, 2024
1 parent a987821 commit 80c8fc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blockchain/state/statedb.go
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ func (s *StateDB) SelfDestruct6780(addr common.Address) {
return
}

if stateObject.created && stateObject.account.Type() == account.SmartContractAccountType {
if stateObject.created {
s.SelfDestruct(addr)
}
}
Expand Down

0 comments on commit 80c8fc0

Please sign in to comment.