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
Current Behavior
JOI validation does not accept 0 as a positive number.
This results in: Error: An invalid network configuration was provided or is inaccessible due to it's security settings. child "network" fails because [child "pubKeyHash" fails because ["pubKeyHash" must be a positive number]]
Possible Solution
Refactor .positive() to .minimum(0)
The text was updated successfully, but these errors were encountered:
Expected Behavior
JOI to accept pubKeyHash
0
Current Behavior
JOI validation does not accept 0 as a positive number.
This results in:
Error: An invalid network configuration was provided or is inaccessible due to it's security settings. child "network" fails because [child "pubKeyHash" fails because ["pubKeyHash" must be a positive number]]
Possible Solution
Refactor
.positive()
to.minimum(0)
The text was updated successfully, but these errors were encountered: