empty returns whether the account is considered empty.
()
| 90 | |
| 91 | // empty returns whether the account is considered empty. |
| 92 | func (s *stateObject) empty() bool { |
| 93 | return s.data.Nonce == 0 && s.data.Balance.Sign() == 0 && bytes.Equal(s.data.CodeHash, emptyCodeHash) |
| 94 | } |
| 95 | |
| 96 | // Account is the Ethereum consensus representation of accounts. |
| 97 | // These objects are stored in the main account trie. |