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 str seed input for sp.create_account_with_seed #206

Conversation

JoeHowarth
Copy link
Contributor

@JoeHowarth JoeHowarth commented Mar 11, 2022

Previously a str was documented, but actually an object of {"length": int, "chars": str} is needed.
This commit detects if a str was passed in and transforms it into the
required object

fixes: #172
@paul2234

Previously a str was documented, but actually an object of {"length": int, "chars": str} is needed.
This commit detects if a str was passed in and transforms it into the
required object
@codecov
Copy link

codecov bot commented Mar 13, 2022

Codecov Report

Merging #206 (ed4611e) into master (060f4a2) will increase coverage by 0.14%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #206      +/-   ##
==========================================
+ Coverage   91.25%   91.40%   +0.14%     
==========================================
  Files          41       41              
  Lines        2767     2768       +1     
==========================================
+ Hits         2525     2530       +5     
+ Misses        242      238       -4     

@michaelhly michaelhly merged commit 21228ef into michaelhly:master Mar 14, 2022
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.

Documentation for "seed" parameter in solana.system_program.CreateAccountWithSeedParams is incorrect
2 participants