core: adjust System.Runtime.GetNotifications interop

Part of #1055.

Forgot to add this pretty interop to the list of system interops.
This commit is contained in:
Anna Shaleva 2020-07-21 20:09:46 +03:00
parent 120eff92f7
commit ef8de3b2dc

View file

@ -117,6 +117,7 @@ var systemInterops = []interop.Function{
{Name: "System.Runtime.GetEntryScriptHash", Func: engineGetEntryScriptHash, Price: 400},
{Name: "System.Runtime.GetExecutingScriptHash", Func: engineGetExecutingScriptHash, Price: 400},
{Name: "System.Runtime.GetInvocationCounter", Func: runtime.GetInvocationCounter, Price: 400},
{Name: "System.Runtime.GetNotifications", Func: runtime.GetNotifications, Price: 10000},
{Name: "System.Runtime.GetScriptContainer", Func: engineGetScriptContainer, Price: 250},
{Name: "System.Runtime.GetTime", Func: runtimeGetTime, Price: 250,
AllowedTriggers: trigger.Application, RequiredFlags: smartcontract.AllowStates},