Expected Behaviour
Following the steps to create a Wallet here, I would expect to be able to complete all the steps successfully.
I continue getting an Error("Unknown account") that is thrown from the code sample here
🙋️ Possible Solution [optional]
I added await syncWallet.resolveAccountId(); and that created the accountId, and I was able to complete the rest of the steps successfully.
Note: I got the idea for the solution by looking at the Rust SDK docs which have a similar method wallet.update_account_id().await?;. I think the JS docs should be updated to include this step as well.
Expected Behaviour
Following the steps to create a Wallet here, I would expect to be able to complete all the steps successfully.
I continue getting an
Error("Unknown account")that is thrown from the code sample here🙋️ Possible Solution [optional]
I added
await syncWallet.resolveAccountId();and that created the accountId, and I was able to complete the rest of the steps successfully.Note: I got the idea for the solution by looking at the Rust SDK docs which have a similar method
wallet.update_account_id().await?;. I think the JS docs should be updated to include this step as well.