You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 17, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: src/account.ts
+4-9Lines changed: 4 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -108,17 +108,12 @@ export class Account {
108
108
}
109
109
110
110
/**
111
-
* Returns a `Boolean` determining if the account is empty.
112
-
* For more details about account emptiness see [EIP-161](https://eips.ethereum.org/EIPS/eip-161).
113
-
* Note: The stateRoot is also checked to be empty since in Frontier it was possible to create a contract with no code where nonce remained 0 but some values were written to storage in the constructor (thus stateRoot is not KECCAK256_RLP).
111
+
* Returns a `Boolean` determining if the account is empty complying to the definition of
112
+
* account emptiness in [EIP-161](https://eips.ethereum.org/EIPS/eip-161):
113
+
* "An account is considered empty when it has no code and zero nonce and zero balance."
0 commit comments