Explain why we clear the bip32_derivation map

This commit is contained in:
Thomas Eizinger 2021-07-07 14:37:56 +10:00
parent acfd2dd6bb
commit 1d0d38cd48
No known key found for this signature in database
GPG Key ID: 651AC83A6C6C8B96

View File

@ -353,6 +353,8 @@ where
change_override,
) {
change.script_pubkey = change_override.script_pubkey();
// Might be populated based on the previously set change address, but for the
// overwrite we don't know unless we ask the user for more information.
psbt_output.bip32_derivation.clear();
}