forked from cerc-io/plugeth
Added addBalance to wrapped state db
This commit is contained in:
parent
3d2f81a30c
commit
052b705632
@ -200,6 +200,9 @@ func (w *WrappedStateDB) IntermediateRoot(deleteEmptyObjects bool) core.Hash {
|
||||
return core.Hash(w.s.IntermediateRoot(deleteEmptyObjects))
|
||||
}
|
||||
|
||||
func (w *WrappedStateDB) AddBalance(addr core.Address, amount *big.Int) {
|
||||
w.s.AddBalance(common.Address(addr), amount)
|
||||
}
|
||||
|
||||
type Node struct {
|
||||
n *node.Node
|
||||
|
Loading…
Reference in New Issue
Block a user