Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(kwallet): empty wallet key query #87

Merged
merged 1 commit into from Oct 11, 2021

Commits on Jun 22, 2021

  1. fix(kwallet): empty wallet key query

    When querying a key in an empty kwallet wallet, we receive the following error:
    ```
    Error: unexpected end of JSON input
    ```
    This is because the `k.wallet.ReadEntry` returns empty bytes and no error. Hence we should handle a case for empty bytes.
    
    Reference: cosmos/cosmos-sdk#9562
    robert-zaremba committed Jun 22, 2021
    Copy the full SHA
    ef00f8a View commit details
    Browse the repository at this point in the history