diff options
author | obscuren <geffobscura@gmail.com> | 2014-10-22 21:22:21 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-10-22 21:22:21 +0800 |
commit | b5beb1aac11af92bfe0f3ed7560b9eb08495ed09 (patch) | |
tree | 3f3fba73bca00f8c0a6c9f8bc29bca8ba36e991d /ethstate/state.go | |
parent | 27cb0750c1deaed040876abdab1386a6687d7999 (diff) | |
download | go-tangerine-b5beb1aac11af92bfe0f3ed7560b9eb08495ed09.tar go-tangerine-b5beb1aac11af92bfe0f3ed7560b9eb08495ed09.tar.gz go-tangerine-b5beb1aac11af92bfe0f3ed7560b9eb08495ed09.tar.bz2 go-tangerine-b5beb1aac11af92bfe0f3ed7560b9eb08495ed09.tar.lz go-tangerine-b5beb1aac11af92bfe0f3ed7560b9eb08495ed09.tar.xz go-tangerine-b5beb1aac11af92bfe0f3ed7560b9eb08495ed09.tar.zst go-tangerine-b5beb1aac11af92bfe0f3ed7560b9eb08495ed09.zip |
added a transfer method to vm env
Diffstat (limited to 'ethstate/state.go')
-rw-r--r-- | ethstate/state.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethstate/state.go b/ethstate/state.go index 2efe2a311..59d2265a9 100644 --- a/ethstate/state.go +++ b/ethstate/state.go @@ -33,7 +33,7 @@ func New(trie *ethtrie.Trie) *State { func (self *State) GetBalance(addr []byte) *big.Int { stateObject := self.GetStateObject(addr) if stateObject != nil { - return stateObject.Balance + return stateObject.balance } return ethutil.Big0 |