wallet, rpc: The getnewaddress RPC fails for external-signer wallets #21918

issue hebasto opened this issue on May 11, 2021
  1. hebasto commented at 1:09 PM on May 11, 2021: member

    According to the doc/external-signer.md:

    Create a wallet, this automatically imports the public keys

    Instead I'm getting an error:

    $ src/bitcoin-cli -rpcwallet=hww getnewaddress
    error code: -4
    error message:
    Error: This wallet has no available keys
    $ src/bitcoin-cli -rpcwallet=hww getwalletinfo
    {
      "walletname": "hww",
      "walletversion": 169900,
      "format": "sqlite",
      "balance": 0.00000000,
      "unconfirmed_balance": 0.00000000,
      "immature_balance": 0.00000000,
      "txcount": 0,
      "keypoololdest": 9223372036854775807,
      "keypoolsize": 0,
      "keypoolsize_hd_internal": 0,
      "paytxfee": 0.00000000,
      "private_keys_enabled": false,
      "avoid_reuse": true,
      "scanning": false,
      "descriptors": true
    }
    
  2. hebasto added the label Bug on May 11, 2021
  3. hebasto added the label Wallet on May 11, 2021
  4. i5hi commented at 8:53 AM on May 12, 2021: none

    You might have missed "active":true in importdescriptors ?

  5. i5hi commented at 8:53 AM on May 12, 2021: none
  6. hebasto commented at 3:11 PM on August 25, 2021: member

    Cannot reproduce on the current master (3755dea3c502f32048b110a4868daefe9dbe3cc1).

    Closing.

  7. hebasto closed this on Aug 25, 2021

  8. DrahtBot locked this on Aug 25, 2022
Contributors
Labels

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-21 15:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me