Skip to content

0.21.1 native descriptor wallet showing incorrect value for spendable #22518

@Fonta1n3

Description

@Fonta1n3

I created a native descriptor wallet using 0.21.1 setting blank to true and private_keys_enabled to false, which the getwalletinfo command confirms.

I import an xpub based descriptor using importdescriptors to add keys to the wallet.

However when I send funds to the wallet and issue the listunspent command the spendable field shows as true.

spendable should only show true if the wallet holds the private keys for that UTXO, this causes my wallet software to think the node is hot when it is not.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions