mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
This commit is contained in:
parent
2834be6131
commit
dee4c985b1
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ type account struct {
|
|||
}
|
||||
|
||||
func (a *account) exists() bool {
|
||||
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)
|
||||
}
|
||||
|
||||
type accountMarshaling struct {
|
||||
|
|
|
|||
Loading…
Reference in a new issue