fix CALLCODE storage address

This commit is contained in:
andri lim 2019-02-20 15:05:51 +07:00 committed by zah
parent 6f0f7624b9
commit 96ae5ee05a
1 changed files with 3 additions and 0 deletions

View File

@ -736,6 +736,9 @@ template genCall(callName: untyped, opCode: Op): untyped =
if sender != ZERO_ADDRESS:
childMsg.sender = sender
if opCode == CallCode:
childMsg.storageAddress = computation.msg.storageAddress
var childComputation = applyChildComputation(computation, childMsg, opCode)
if childComputation.isError: