...
This is a fix for #14415
This is a fix for #14415 right?
@MeshCollider Hopefully.
81 | if (it != sigdata.signatures.end()) {
82 | sig_out = it->second.second;
83 | return true;
84 | }
85 | - CPubKey pubkey;
86 | - GetPubKey(provider, sigdata, keyid, pubkey);
Removing this is also breaking the PSBT updating test. Without it, we don't know which pubkeys are needed for signing in order to properly update a PSBT with the pubkeys.
sorry can you point to where this breaks stuff exactly, non-obvious to me
PSBT relies on the GetPubKey helper function to find out which public keys are used and to add the public key to a SignatureData object. The public keys are taken from the sigdata after ProduceSignature is done and moved into the PSBT. Without this call to GetPubKey, the pubkeys that were needed during signing are not added to the sigdata and thus not added to the PSBT. This causes the test to fail (and further breaks PSBT updating) as public keys that are watch only are not being added to the PSBT.
Possibly fixed.
one build was failing to finish building(?), kicked
utACK 2f6b466aeb6d4c88ab2e0e8b2a402be0743608b5
Marked as 0.17.1.
Tested ACK 2f6b466aeb6d4c88ab2e0e8b2a402be0743608b5, fixes #14415