diff options
author | obscuren <geffobscura@gmail.com> | 2015-02-27 01:39:05 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-02-27 01:39:05 +0800 |
commit | 37e6870f64437a212fde383ab1538ad1e7e2acd9 (patch) | |
tree | fbcd0c11c1ca9931a6a8f6c74ae02340cb097bb2 /vm/vm.go | |
parent | a1c830cd3c53bce7748d97e3f99fe6a90d526adb (diff) | |
download | dexon-37e6870f64437a212fde383ab1538ad1e7e2acd9.tar.gz dexon-37e6870f64437a212fde383ab1538ad1e7e2acd9.tar.zst dexon-37e6870f64437a212fde383ab1538ad1e7e2acd9.zip |
wip
Diffstat (limited to 'vm/vm.go')
-rw-r--r-- | vm/vm.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -54,6 +54,8 @@ func (self *Vm) Run(me, caller ContextRef, code []byte, value, gas, price *big.I err = fmt.Errorf("%v", r) + } else { + fmt.Println(me.(*state.StateObject).Storage()) } }() } @@ -727,7 +729,7 @@ func (self *Vm) Run(me, caller ContextRef, code []byte, value, gas, price *big.I self.Printf(" => (%x) %v", receiver.Address()[:4], balance) - receiver.AddAmount(balance) + receiver.AddBalance(balance) statedb.Delete(context.Address()) fallthrough |