Fix JitVm build
This commit is contained in:
parent
24003c76d1
commit
e72173dc43
@ -199,7 +199,7 @@ func (self *JitVm) Run(me, caller ContextRef, code []byte, value, gas, price *bi
|
|||||||
receiverAddr := llvm2hashRef(bswap(&self.data.address))
|
receiverAddr := llvm2hashRef(bswap(&self.data.address))
|
||||||
receiver := state.GetOrNewStateObject(receiverAddr)
|
receiver := state.GetOrNewStateObject(receiverAddr)
|
||||||
balance := state.GetBalance(me.Address())
|
balance := state.GetBalance(me.Address())
|
||||||
receiver.AddAmount(balance)
|
receiver.AddBalance(balance)
|
||||||
state.Delete(me.Address())
|
state.Delete(me.Address())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user