| 550 | } |
| 551 | |
| 552 | bool PSBTInputSigned(const PSBTInput& input) |
| 553 | { |
| 554 | return !input.final_script_sig.empty() || !input.final_script_witness.IsNull(); |
| 555 | } |
| 556 | |
| 557 | bool PSBTInputSignedAndVerified(const PartiallySignedTransaction& psbt, unsigned int input_index, const PrecomputedTransactionData* txdata) |
| 558 | { |