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
{{ message }}
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.
Right now, when sending negative or zero value to the checkTicketsPeriodMillis parameter passed to create an identity, the method is returning the identity without any error. This parameter should be optional or mandatory? I think it should be mandatory as the tickets are needed to completer the full workflow on the library. So if it is mandatory, the best would be not to allow to create an identity with negative milliseconds to check on the tickets, so I suggest to return an error in this case.
Result -> Identity is created Expected -> To not create an identity and return an error requesting the user to introduce a positive value of miliseconds as parameter.
The text was updated successfully, but these errors were encountered:
Right now, when sending negative or zero value to the checkTicketsPeriodMillis parameter passed to create an identity, the method is returning the identity without any error. This parameter should be optional or mandatory? I think it should be mandatory as the tickets are needed to completer the full workflow on the library. So if it is mandatory, the best would be not to allow to create an identity with negative milliseconds to check on the tickets, so I suggest to return an error in this case.
Iden3mobile.newIdentity(
"$storePath/alias",
"password",
web3Url,
-10000,
null
) { event -> print(event) }
Result -> Identity is created
Expected -> To not create an identity and return an error requesting the user to introduce a positive value of miliseconds as parameter.
The text was updated successfully, but these errors were encountered: