When we sign PSBTs via external signers, rigth now we considere it is complete if all the inputs are signed. For multisig wallets, we should only care if the inputs owned by the wallet are signed.
This PR updates the behaviour so it only check those inputs owned by the wallet. The concrete process is:
- Iterate through the PSBT inputs and identify the ones owned by the wallet with
DescriptorScriptPubKeyMan::IsMine - If all inputs owned by the wallet are signed we consider the process complet.
This pr resolves this TODO.