-
Notifications
You must be signed in to change notification settings - Fork 129
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
Is it a BUG? when #228
Comments
the utils.js:
|
you are correct, it's not a bug, just a confusing error message. in case you didn't figure it out, it's these lines here: const arweaveWallet = await arweave.wallets.jwkToAddress(wallet); //this gives the address
const address = await arweave.wallets.getAddress(arweaveWallet); //error: attempts to get address from address should be: const address = arweave.wallets.jwkToAddress(wallet); |
i've merged the PR you referenced, but that will just give a new message about something not being a string. not too helpful an error message either. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
when I run this method:
and I got correct response through
console.log('Wallet:', wallet);
but
const address = await arweave.wallets.getAddress(arweaveWallet);
gave out an error like
I met the error several times before in other project , so I doubt if it's a BUG or not, hope your help.
It's important to note that this issue does not occur in normal mode; it only occurs in ANS-104 mode.
The text was updated successfully, but these errors were encountered: