mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-07 14:18:18 +02:00
wallet: drop stale TODOs
This commit is contained in:
@@ -88,7 +88,6 @@ std::optional<PSBTError> ExternalSignerScriptPubKeyMan::FillPSBT(PartiallySigned
|
|||||||
// Already complete if every input is now signed
|
// Already complete if every input is now signed
|
||||||
bool complete = true;
|
bool complete = true;
|
||||||
for (const auto& input : psbt.inputs) {
|
for (const auto& input : psbt.inputs) {
|
||||||
// TODO: for multisig wallets, we should only care if all _our_ inputs are signed
|
|
||||||
complete &= PSBTInputSigned(input);
|
complete &= PSBTInputSigned(input);
|
||||||
}
|
}
|
||||||
if (complete) return {};
|
if (complete) return {};
|
||||||
@@ -104,7 +103,7 @@ std::optional<PSBTError> ExternalSignerScriptPubKeyMan::FillPSBT(PartiallySigned
|
|||||||
LogWarning("Failed to sign: %s\n", failure_reason);
|
LogWarning("Failed to sign: %s\n", failure_reason);
|
||||||
return PSBTError::EXTERNAL_SIGNER_FAILED;
|
return PSBTError::EXTERNAL_SIGNER_FAILED;
|
||||||
}
|
}
|
||||||
if (finalize) FinalizePSBT(psbt); // This won't work in a multisig setup
|
if (finalize) FinalizePSBT(psbt);
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
} // namespace wallet
|
} // namespace wallet
|
||||||
|
|||||||
Reference in New Issue
Block a user