diff options
author | obscuren <geffobscura@gmail.com> | 2014-10-23 07:01:26 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-10-23 07:01:26 +0800 |
commit | 29b8a0bc5ffa7a674a06a211e1c8bdd1b6ed07b1 (patch) | |
tree | cd850fc126869e382ceb56f546aa579b37f7b63d /ethchain/chain_manager.go | |
parent | 51ecab6967a15b82f9285cd0ffd3352607dc8612 (diff) | |
download | go-tangerine-29b8a0bc5ffa7a674a06a211e1c8bdd1b6ed07b1.tar go-tangerine-29b8a0bc5ffa7a674a06a211e1c8bdd1b6ed07b1.tar.gz go-tangerine-29b8a0bc5ffa7a674a06a211e1c8bdd1b6ed07b1.tar.bz2 go-tangerine-29b8a0bc5ffa7a674a06a211e1c8bdd1b6ed07b1.tar.lz go-tangerine-29b8a0bc5ffa7a674a06a211e1c8bdd1b6ed07b1.tar.xz go-tangerine-29b8a0bc5ffa7a674a06a211e1c8bdd1b6ed07b1.tar.zst go-tangerine-29b8a0bc5ffa7a674a06a211e1c8bdd1b6ed07b1.zip |
Updated the VM & VM tests
* Stack Error shouldn't revert to previous state
* Updated VM Test tool
* Added Transfer method to VM Env
Diffstat (limited to 'ethchain/chain_manager.go')
-rw-r--r-- | ethchain/chain_manager.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethchain/chain_manager.go b/ethchain/chain_manager.go index 227b02c0a..9f82eae41 100644 --- a/ethchain/chain_manager.go +++ b/ethchain/chain_manager.go @@ -162,7 +162,7 @@ func AddTestNetFunds(block *Block) { } { codedAddr := ethutil.Hex2Bytes(addr) account := block.state.GetAccount(codedAddr) - account.Balance = ethutil.Big("1606938044258990275541962092341162602522202993782792835301376") //ethutil.BigPow(2, 200) + account.SetBalance(ethutil.Big("1606938044258990275541962092341162602522202993782792835301376")) //ethutil.BigPow(2, 200) block.state.UpdateStateObject(account) } } |