add comment to GetBalance

This commit is contained in:
alan 2024-10-29 13:06:16 +08:00
parent 80bdab757d
commit 75f4fac8cf

View file

@ -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