You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And simplify atomic service value stored by RPC server. It's unwanted
to use reflection, thus we can directly check for the typed nil service
value. Otherwise `submitoracleresponse` RPC handler doesn't work properly.
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
returnneorpc.NewRPCError("Invalid block height", fmt.Sprintf("param at index %d should be greater than or equal to 0 and less then or equal to current block height, got: %d", index, height))
255
255
}
256
256
257
-
// New creates a new Server struct.
257
+
// New creates a new Server struct. Pay attention that orc is expected to be either
258
+
// untyped nil or non-nil structure implementing OracleHandler interface.
0 commit comments