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

Trying to import watch only wallet crashes the app #182

Closed
joyceofoche opened this issue Oct 13, 2023 · 0 comments · Fixed by #200
Closed

Trying to import watch only wallet crashes the app #182

joyceofoche opened this issue Oct 13, 2023 · 0 comments · Fixed by #200
Assignees
Labels
bug Something isn't working

Comments

@joyceofoche
Copy link

joyceofoche commented Oct 13, 2023

Note: This issue happened on a fresh installation of cryptopower (with no previous wallets)

2023-10-13 15:49:05.686 [INF] DCR: Opened wallet
2023-10-13 15:49:05.695 [INF] SHWL: Created Watching Only Wallet
panic: assignment to entry in nil map

goroutine 551 [running]:
github.com/crypto-power/cryptopower/libwallet/assets/dcr.(*Asset).AddAccountMixerNotificationListener(0x14002a6c340, {0x1024369e0?, 0x1400277f000}, {0x101943021, 0x8})
	/Users/kennedy/go/src/github.com/crypto-power/cryptopower/libwallet/assets/dcr/account_mixer.go:36 +0xb8
github.com/crypto-power/cryptopower/ui/page/root.(*OverviewPage).listenForMixerNotifications(0x1400277f000)
	/Users/kennedy/go/src/github.com/crypto-power/cryptopower/ui/page/root/overview_page.go:999 +0x1b0
github.com/crypto-power/cryptopower/ui/page/root.(*OverviewPage).OnNavigatedTo(0x1400277f000)
	/Users/kennedy/go/src/github.com/crypto-power/cryptopower/ui/page/root/overview_page.go:198 +0x14c
github.com/crypto-power/cryptopower/app.(*PageStack).Push(0x14003008660, {0x102440160, 0x1400277f000}, {0x102443770, 0x14002f82070})
	/Users/kennedy/go/src/github.com/crypto-power/cryptopower/app/pagestack.go:67 +0x460
github.com/crypto-power/cryptopower/app.(*MasterPage).Display(0x14002f82070, {0x102440160?, 0x1400277f000?})
	/Users/kennedy/go/src/github.com/crypto-power/cryptopower/app/masterpage.go:46 +0x3c
github.com/crypto-power/cryptopower/ui/page/root.(*HomePage).OnNavigatedTo(0x14002e0e000)
	/Users/kennedy/go/src/github.com/crypto-power/cryptopower/ui/page/root/home_page.go:138 +0xec
github.com/crypto-power/cryptopower/app.(*PageStack).Push(0x14002b063f0, {0x10243f308, 0x14002e0e000}, {0x102443720, 0x14002b06420})
	/Users/kennedy/go/src/github.com/crypto-power/cryptopower/app/pagestack.go:67 +0x460
github.com/crypto-power/cryptopower/app.(*SimpleWindowNavigator).Display(0x14002b06420, {0x10243f308?, 0x14002e0e000?})
	/Users/kennedy/go/src/github.com/crypto-power/cryptopower/app/window.go:49 +0x3c
github.com/crypto-power/cryptopower/ui/page/root.(*CreateWallet).walletCreationSuccessCallback(0x14002a2a850?)
	/Users/kennedy/go/src/github.com/crypto-power/cryptopower/ui/page/root/wallet_setup_page.go:630 +0x54
github.com/crypto-power/cryptopower/ui/page/root.(*CreateWallet).HandleUserInteractions.func3()
	/Users/kennedy/go/src/github.com/crypto-power/cryptopower/ui/page/root/wallet_setup_page.go:551 +0x490
created by github.com/crypto-power/cryptopower/ui/page/root.(*CreateWallet).HandleUserInteractions in goroutine 70
	/Users/kennedy/go/src/github.com/crypto-power/cryptopower/ui/page/root/wallet_setup_page.go:514 +0x5e4
joyceofoche@Joyces-MacBook-Air ~ % ```

@dreacot dreacot added the bug Something isn't working label Oct 13, 2023
@dreacot dreacot added this to dev Oct 13, 2023
@dreacot dreacot moved this to 🆕 To-Do in dev Oct 13, 2023
@JustinBeBoy JustinBeBoy self-assigned this Oct 24, 2023
@JustinBeBoy JustinBeBoy moved this from 🆕 To-Do to 🔖 Ready in dev Oct 24, 2023
@dreacot dreacot moved this from 🔖 Ready to 👀 In review in dev Oct 24, 2023
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in dev Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

3 participants