We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2834be6 commit dee4c98Copy full SHA for dee4c98
eth/tracers/native/prestate.go
@@ -45,7 +45,7 @@ type account struct {
45
}
46
47
func (a *account) exists() bool {
48
- return a.Balance.Sign() != 0 || a.Nonce > 0 || len(a.Code) > 0 || len(a.Storage) > 0
+ return a.Nonce > 0 || len(a.Code) > 0 || len(a.Storage) > 0 || (a.Balance != nil && a.Balance.Sign() != 0)
49
50
51
type accountMarshaling struct {
0 commit comments