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

upgradewallet on a descriptor wallet ends with error #22460

Closed
jsarenik opened this issue Jul 15, 2021 · 0 comments · Fixed by #22461
Closed

upgradewallet on a descriptor wallet ends with error #22460

jsarenik opened this issue Jul 15, 2021 · 0 comments · Fixed by #22461
Labels

Comments

@jsarenik
Copy link

This is the error I get:

$ bitcoin-cli -rpcwallet=descriptor -testnet upgradewallet                         <
error code: -1
error message:
wallet/rpcwallet.cpp:4522 (operator())
Internal bug detected: '!error.empty()'
You may report this issue here: https://github.com/bitcoin/bitcoin/issues

The daemon logs this:

2021-07-15T16:16:54Z [descriptor] Performing wallet upgrade to 169900

Expected behavior

When I do the same on the default (non-descriptor) wallet:

$ bitcoin-cli -rpcwallet="" -testnet upgradewallet                             
{
  "wallet_name": "",
  "previous_version": 169900,
  "current_version": 169900,
  "result": "Already at latest version. Wallet version unchanged."
}

System information

Bitcoin Core v0.21.1 Linux x86_64 glibc (Ubuntu) using binarias from bitcoincore.org

@jsarenik jsarenik added the Bug label Jul 15, 2021
@jsarenik jsarenik changed the title upgradewallet on a descriptorwallet ends with error upgradewallet on a descriptor wallet ends with error Jul 15, 2021
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Aug 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant