mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 01:13:45 +00:00
Merge 583435eabb into 7a045af05b
This commit is contained in:
commit
80652a50e0
1 changed files with 2 additions and 2 deletions
|
|
@ -130,8 +130,8 @@ type dbWrapper struct {
|
|||
}
|
||||
|
||||
// getBalance retrieves an account's balance
|
||||
func (dw *dbWrapper) getBalance(addr common.Address) *big.Int {
|
||||
return dw.db.GetBalance(addr)
|
||||
func (dw *dbWrapper) getBalance(addr []byte) *big.Int {
|
||||
return dw.db.GetBalance(common.BytesToAddress(addr))
|
||||
}
|
||||
|
||||
// getNonce retrieves an account's nonce
|
||||
|
|
|
|||
Loading…
Reference in a new issue