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: prevent wallet from beeing initalized twice #2210

Merged
merged 1 commit into from
Sep 7, 2024

Conversation

limpbrains
Copy link
Collaborator

Description

After new wallet creation setupOnChainWallet was called twice resulting in 2 instances of Beignet competing against each other.
I'm fixing it by walletExists: true setter to be executed later, after the createDefaultWallet function is completed

Linked Issues/Tasks

closes #2177

Type of change

Bug fix

Tests

No test

QA Notes

  • make sure RBF is enabled by default
  • create new wallet, do not restart the app
  • create 2-3 onchain transactions
  • make sure you don't have any error messages

@limpbrains limpbrains marked this pull request as ready for review September 6, 2024 14:39
src/store/slices/wallet.ts Show resolved Hide resolved
@pwltr
Copy link
Collaborator

pwltr commented Sep 6, 2024

Can confirm this seems to fix #2177 and #1934

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.

[Bug]: Transfer RBFs previous sent transaction
2 participants