diff options
author | obscuren <geffobscura@gmail.com> | 2014-10-02 23:03:15 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-10-02 23:03:15 +0800 |
commit | 82be3054961864dfd5bbeaec2ab961f593203dbf (patch) | |
tree | efde516d8219f253f2bc87f26ad6d4169c2dc587 /ethvm | |
parent | a34a971b508e1bc1fbeb3c2d02cbb8686d2491d8 (diff) | |
download | go-tangerine-82be3054961864dfd5bbeaec2ab961f593203dbf.tar go-tangerine-82be3054961864dfd5bbeaec2ab961f593203dbf.tar.gz go-tangerine-82be3054961864dfd5bbeaec2ab961f593203dbf.tar.bz2 go-tangerine-82be3054961864dfd5bbeaec2ab961f593203dbf.tar.lz go-tangerine-82be3054961864dfd5bbeaec2ab961f593203dbf.tar.xz go-tangerine-82be3054961864dfd5bbeaec2ab961f593203dbf.tar.zst go-tangerine-82be3054961864dfd5bbeaec2ab961f593203dbf.zip |
Fixed inconsistencies
Diffstat (limited to 'ethvm')
-rw-r--r-- | ethvm/vm.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ethvm/vm.go b/ethvm/vm.go index bb14d75da..4f0e41e5c 100644 --- a/ethvm/vm.go +++ b/ethvm/vm.go @@ -763,9 +763,9 @@ func (self *Vm) RunClosure(closure *Closure) (ret []byte, err error) { // Generate a new address addr := ethcrypto.CreateAddress(closure.Address(), closure.object.Nonce) - for i := uint64(0); self.env.State().GetStateObject(addr) != nil; i++ { - ethcrypto.CreateAddress(closure.Address(), closure.object.Nonce+i) - } + //for i := uint64(0); self.env.State().GetStateObject(addr) != nil; i++ { + // ethcrypto.CreateAddress(closure.Address(), closure.object.Nonce+i) + //} closure.object.Nonce++ self.Printf(" (*) %x", addr).Endl() |