aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaweł Bylica <pawel.bylica@imapp.pl>2015-03-03 19:31:26 +0800
committerPaweł Bylica <pawel.bylica@imapp.pl>2015-03-03 19:31:26 +0800
commite72173dc43331e000c23ab693f6aee99fb86ed06 (patch)
tree51f3ec8b1611789b490219144ca1be54edca1d91
parent24003c76d12b83602ca93be375a3bc19f4fb3f1b (diff)
downloadgo-tangerine-e72173dc43331e000c23ab693f6aee99fb86ed06.tar
go-tangerine-e72173dc43331e000c23ab693f6aee99fb86ed06.tar.gz
go-tangerine-e72173dc43331e000c23ab693f6aee99fb86ed06.tar.bz2
go-tangerine-e72173dc43331e000c23ab693f6aee99fb86ed06.tar.lz
go-tangerine-e72173dc43331e000c23ab693f6aee99fb86ed06.tar.xz
go-tangerine-e72173dc43331e000c23ab693f6aee99fb86ed06.tar.zst
go-tangerine-e72173dc43331e000c23ab693f6aee99fb86ed06.zip
Fix JitVm build
-rw-r--r--vm/vm_jit.go2
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())
}
}