Skip to content

Conversation

calebcgates
Copy link

Ran into this error in the CLI stating the wallet did not not exist. Looked into if this is an intentional double negative. My research points to "no" it's a typo.

Looking at the logic:

  1. utils.is_valid_wallet(wallet) returns a tuple where the first element (valid[0]) indicates if the wallet exists
  2. The condition if not valid[0]: triggers when the wallet does NOT exist
  3. So the error message should indicate the wallet doesn't exist

Ran into this error in the CLI stating the wallet did not not exist.  Looked into if this is an intentional double negative.  My research points to "no" it's a typo.

Looking at the logic:
1. utils.is_valid_wallet(wallet) returns a tuple where the first element (valid[0]) indicates if the wallet exists
2. The condition if not valid[0]: triggers when the wallet does NOT exist
3. So the error message should indicate the wallet doesn't exist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant