Fix JitVm build

This commit is contained in:
Paweł Bylica 2015-03-03 12:31:26 +01:00
parent 24003c76d1
commit e72173dc43

View File

@ -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())
}
}