mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Apply suggestions from code review
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
This commit is contained in:
parent
4e31c48cd9
commit
01f8ab9733
1 changed files with 2 additions and 2 deletions
|
|
@ -34,7 +34,7 @@ type StateDB interface {
|
|||
|
||||
// SubBalance subtracts the amount from the address's balance
|
||||
SubBalance(common.Address, *big.Int)
|
||||
// SubBalance adds the amount to the address's balance
|
||||
// AddBalance adds the amount to the address's balance
|
||||
AddBalance(common.Address, *big.Int)
|
||||
// GetBalance returns the balance for the given address
|
||||
//
|
||||
|
|
@ -71,7 +71,7 @@ type StateDB interface {
|
|||
// GetRefund returns the total (gas) refund
|
||||
GetRefund() uint64
|
||||
|
||||
// GetCommittedState returns the value for the given (address, key) pair (aka slot) using commited state only
|
||||
// GetCommittedState returns the value for the given (address, key) pair (aka slot) using committed state only
|
||||
//
|
||||
// For non-existent addresses or non-existent keys it should return empty hash (common.Hash{})
|
||||
GetCommittedState(addr common.Address, key common.Hash) common.Hash
|
||||
|
|
|
|||
Loading…
Reference in a new issue