crypto-power/cryptopower

backup is being requested for an already backed up wallet

Closed this issue · 0 comments

The second bug I have to report is that I tried to restore a DCR wallet from the seed words. I had clicked on mainnet. I entered all my 33 seed words, and it took me to the home screen, but it said it hadn't connected to any blocks yet. I had a big red button saying that I needed to backup my seed words (I mean...I already had them backed up because this was a restored wallet from seed), but I clicked that button, and then suddenly the program had a panic error:

panic: runtime error: index out of range [-1]

goroutine 54 [running]:
github.com/crypto-power/cryptopower/ui/page/seedbackup.(*VerifySeedPage).getMultiSeed(<hex values>)
github.com/crypto-power/cryptopower/ui/page/seedbackup/verify_seed.go:124 +0x88a
github.com/crypto-power/cryptopower/ui/page/seedbackup.(*VerifySeedPage).OnNavigatedTo(<hex value>)
	github.com/crypto-power/cryptopower/ui/page/seedbackup/verify_seed.go:102 +0x393
github.com/crypto-power/cryptopower/app.(*PageStack).PushAndNavigate(<hex values>)

and then a few more lines of trace, finishing with:

github.com/crypto-power/cryptopower/ui/window.go:236 +0x19d
github.com/crypto-power/cryptopower/ui.(*Window).HandleEvents(0xc00069e360)
	github.com/crypto-power/cryptopower/ui/window.go:207 +0x2b6
main.main.func4()
	github.com/crypto-power/cryptopower/main.go:121 +0x1d
created by main.main
	github.com/crypto-power/cryptopower/main.go:119 +0x4d2

as reported on matrix

https://matrix.to/#/!oxOZZtibVUXxXtdPJS:decred.org/$Ob07jKPyp9R45JfOpPI6BDjO9FqaLHKOOGox_NdqaKw?via=decred.org&via=matrix.org&via=integrations.ems.host