diff options
author | Paweł Bylica <pawel.bylica@imapp.pl> | 2015-03-03 19:31:26 +0800 |
---|---|---|
committer | Paweł Bylica <pawel.bylica@imapp.pl> | 2015-03-03 19:31:26 +0800 |
commit | e72173dc43331e000c23ab693f6aee99fb86ed06 (patch) | |
tree | 51f3ec8b1611789b490219144ca1be54edca1d91 /vm | |
parent | 24003c76d12b83602ca93be375a3bc19f4fb3f1b (diff) | |
download | dexon-e72173dc43331e000c23ab693f6aee99fb86ed06.tar dexon-e72173dc43331e000c23ab693f6aee99fb86ed06.tar.gz dexon-e72173dc43331e000c23ab693f6aee99fb86ed06.tar.bz2 dexon-e72173dc43331e000c23ab693f6aee99fb86ed06.tar.lz dexon-e72173dc43331e000c23ab693f6aee99fb86ed06.tar.xz dexon-e72173dc43331e000c23ab693f6aee99fb86ed06.tar.zst dexon-e72173dc43331e000c23ab693f6aee99fb86ed06.zip |
Fix JitVm build
Diffstat (limited to 'vm')
-rw-r--r-- | vm/vm_jit.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/vm_jit.go b/vm/vm_jit.go index 7cb9c75ec..9d26957f0 100644 --- a/vm/vm_jit.go +++ b/vm/vm_jit.go @@ -199,7 +199,7 @@ func (self *JitVm) Run(me, caller ContextRef, code []byte, value, gas, price *bi receiverAddr := llvm2hashRef(bswap(&self.data.address)) receiver := state.GetOrNewStateObject(receiverAddr) balance := state.GetBalance(me.Address()) - receiver.AddAmount(balance) + receiver.AddBalance(balance) state.Delete(me.Address()) } } |