aboutsummaryrefslogtreecommitdiffstats
path: root/ethvm
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-10-02 23:03:15 +0800
committerobscuren <geffobscura@gmail.com>2014-10-02 23:03:15 +0800
commit82be3054961864dfd5bbeaec2ab961f593203dbf (patch)
treeefde516d8219f253f2bc87f26ad6d4169c2dc587 /ethvm
parenta34a971b508e1bc1fbeb3c2d02cbb8686d2491d8 (diff)
downloadgo-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.go6
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()