mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 18:02:24 +00:00
add comment to GetBalance
This commit is contained in:
parent
80bdab757d
commit
75f4fac8cf
1 changed files with 1 additions and 0 deletions
|
|
@ -35,6 +35,7 @@ type StateDB interface {
|
|||
|
||||
SubBalance(common.Address, *uint256.Int, tracing.BalanceChangeReason) uint256.Int
|
||||
AddBalance(common.Address, *uint256.Int, tracing.BalanceChangeReason) uint256.Int
|
||||
// note: should never modify the returned value, as it's reused for performance purpose
|
||||
GetBalance(common.Address) *uint256.Int
|
||||
|
||||
GetNonce(common.Address) uint64
|
||||
|
|
|
|||
Loading…
Reference in a new issue