mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 07:54:42 +00:00
Watch only wallets can leave a wallet on disk if adding xpub fails #737
Labels
No labels
Android
Bug
Build system
Design suggestion
Doc
Needs design review
Needs rebase
Stage
UX
Up for grabs
Upstream
Wallet
duplicate
enhancement
good first issue
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin-core/gui-qml#737
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Xpub creation can fail and that can mark the wallet crested as failed even though the blank wallet was created.
Originally posted by @jarolrod in https://github.com/bitcoin-core/gui-qml/pull/727#discussion_r3336236160
There is a related external-signer case: device detection succeeds, but descriptor retrieval fails after Core has created
wallet.dat. Retrying then fails because the wallet name already exists.I reproduced this on QML
qt6at6e54a48ab571cand independently through Core’screatewalletRPC. A working-signer control creates the wallet successfully.bitcoin/bitcoin#36767 addresses that creation-stage failure by catching the exception and cleaning up files created by the attempt. Worth tracking that dependency here. The watch-only descriptor-import failure described in this issue occurs later and still needs its own cleanup coverage.