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
The following is an example of the current situation.
val client = ctx.getReference<ClientState>()
require(client.id ==Identifier(msg.clientId)){"mismatch client"}
This is a boring and error-prone code.
The process of getting a state followed by checking the identifier of it should be combined into a single method.
The text was updated successfully, but these errors were encountered:
The following is an example of the current situation.
This is a boring and error-prone code.
The process of getting a state followed by checking the identifier of it should be combined into a single method.
The text was updated successfully, but these errors were encountered: