Steps to reproduce:
-
Create PSBT without BIP32 derivation info:
bitcoin-cli -testnet walletcreatefundedpsbt '[]' '[{"mkHS9ne12qx9pS9VojpwU5xtRd4T7X7ZUt": 0.001}]' 0 '{"feeRate": 0.0001}' false
-
Process, but don’t sign:
walletprocesspsbt THE_PSBT false ALL true
Notice that this PSBT has bip32_derivs
set for all inputs.
- 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.