fix CALLCODE storage address
This commit is contained in:
parent
6f0f7624b9
commit
96ae5ee05a
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue