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

Prevent importing from mnemonic when offline #2061

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

lukaw3d
Copy link
Member

@lukaw3d lukaw3d commented Sep 20, 2024

Fixes #2058

Before After
wallet dev oasis io_ localhost_3000_

Copy link

github-actions bot commented Sep 20, 2024

Deployed to Cloudflare Pages

Latest commit: 30013e1b9e46f5aca400373485e060b0d54c6a9e
Status:✅ Deploy successful!
Preview URL: https://664d1d40.oasis-wallet.pages.dev
Alias: https://pr-2061.oasis-wallet.pages.dev

Fixes "Cannot read properties of undefined (reading 'available')" after
importing an account from mnemonic when offline, then going online and making a
transfer.
Don't catch errors from ensureAllBalancesArePresentOnCurrentPage to ensure
`wallet.balance` is defined.
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.

Sending ROSE throws "Cannot read properties of undefined (reading 'available')"
1 participant