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

bitcoind: sanity check descriptors were imported #416

Open
darosior opened this issue Jun 30, 2022 · 1 comment
Open

bitcoind: sanity check descriptors were imported #416

darosior opened this issue Jun 30, 2022 · 1 comment
Labels
good first issue Good for newcomers

Comments

@darosior
Copy link
Member

At startup, if a watchonly wallet isn't present we'll create and import the descriptors. If one is, we'll just assume the descriptors were successfully imported in it. It would be more robust to sanity check that descriptors were indeed imported:

// TODO: sanity check descriptors are imported when migrating to 0.22
if !PathBuf::from(bitcoind_wallet_path.clone()).exists() {

@darosior darosior added the good first issue Good for newcomers label Jun 30, 2022
@darosior
Copy link
Member Author

darosior commented Jul 5, 2022

lol i had a 2 years old issue for this already: #35. Keeping this one as it's more detailed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant