mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-27 12:35:00 +00:00
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:
|
if sender != ZERO_ADDRESS:
|
||||||
childMsg.sender = sender
|
childMsg.sender = sender
|
||||||
|
|
||||||
|
if opCode == CallCode:
|
||||||
|
childMsg.storageAddress = computation.msg.storageAddress
|
||||||
|
|
||||||
var childComputation = applyChildComputation(computation, childMsg, opCode)
|
var childComputation = applyChildComputation(computation, childMsg, opCode)
|
||||||
|
|
||||||
if childComputation.isError:
|
if childComputation.isError:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user