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

Trim white spaces when reading private key #77

Merged
merged 1 commit into from
Aug 15, 2024
Merged

Conversation

gligneul
Copy link
Contributor

Description

This solves a common problem when there is an extra new-line in the private key file. For instance:

Error: stylus deploy failed

Caused by:
   0: failed to load wallet
   1: invalid private key
   2: Odd number of digits

Checklist

  • I have documented these changes where necessary.
  • I have read the DCO and ensured that these changes comply.
  • I assign this work under its open source licensing.

This solves a common problem when there is an extra new-line in the
private key file. For instance:

    Error: stylus deploy failed

    Caused by:
       0: failed to load wallet
       1: invalid private key
       2: Odd number of digits
@gligneul gligneul requested a review from rauljordan August 15, 2024 18:27
@rauljordan rauljordan merged commit 28b7df4 into main Aug 15, 2024
7 checks passed
@rauljordan rauljordan deleted the gligneul/fix-priv-key branch August 15, 2024 20:19
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.

2 participants