Skip to content

Commit 3038b35

Browse files
committed
vm ops
1 parent d24aa29 commit 3038b35

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vmhost/vmhooks/baseOps.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,8 @@ func TransferValueExecuteWithTypedArgs(
846846
data = makeCrossShardCallFromInput(contractCallInput.Function, contractCallInput.Arguments)
847847
}
848848

849-
if host.IsBuiltinFunctionCall([]byte(data)) {
849+
lastRound := host.Blockchain().LastRound()
850+
if host.IsBuiltinFunctionCall([]byte(data)) && lastRound > 25184293 {
850851
WithFaultAndHost(host, vmhost.ErrTransferValueOnESDTCall, runtime.BaseOpsErrorShouldFailExecution())
851852
return 1
852853
}

0 commit comments

Comments
 (0)