Skip to content

wallet: walletprocesspsbt does not add input bip32_derivs when signing #18039

@Sjors

Description

@Sjors

Steps to reproduce:

  1. Create PSBT without BIP32 derivation info: bitcoin-cli -testnet walletcreatefundedpsbt '[]' '[{"mkHS9ne12qx9pS9VojpwU5xtRd4T7X7ZUt": 0.001}]' 0 '{"feeRate": 0.0001}' false

  2. Process, but don't sign: walletprocesspsbt THE_PSBT false ALL true

Notice that this PSBT has bip32_derivs set for all inputs.

  1. Process and sign: walletprocesspsbt THE_PSBT true ALL true

Notice that this PSBT has bip32_derivs set for the change output, but not for the inputs.

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