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

undefined salt #8

Open
adeebabdulsalam opened this issue Jul 16, 2021 · 1 comment
Open

undefined salt #8

adeebabdulsalam opened this issue Jul 16, 2021 · 1 comment

Comments

@adeebabdulsalam
Copy link

The function this._fileContents(Keystore) is not returning the correct keystoreData after taking a blob or JSON as input.
Therefore the method "StellarKeystore.prototype.keypair(Keystore, Password)" will throw an error.

@adeebabdulsalam
Copy link
Author

My solution:

Since my keystore is JSON object and not a blob, I commented the outer function "_fileContents(Keystore)" and added the line
let keystoreData = Keystore.walletData;

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

No branches or pull requests

1 participant