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 /vm/vm.go | |
parent | 27cb0750c1deaed040876abdab1386a6687d7999 (diff) | |
download | dexon-b5beb1aac11af92bfe0f3ed7560b9eb08495ed09.tar.gz dexon-b5beb1aac11af92bfe0f3ed7560b9eb08495ed09.tar.zst dexon-b5beb1aac11af92bfe0f3ed7560b9eb08495ed09.zip |
added a transfer method to vm env
Diffstat (limited to 'vm/vm.go')
-rw-r--r-- | vm/vm.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -692,7 +692,7 @@ func (self *Vm) RunClosure(closure *Closure) (ret []byte, err error) { receiver := self.env.State().GetOrNewStateObject(stack.Pop().Bytes()) - receiver.AddAmount(closure.object.Balance) + receiver.AddAmount(closure.object.Balance()) closure.object.MarkForDeletion() |