| 584 | } |
| 585 | |
| 586 | size_t CountPSBTUnsignedInputs(const PartiallySignedTransaction& psbt) { |
| 587 | size_t count = 0; |
| 588 | for (const auto& input : psbt.inputs) { |
| 589 | if (!PSBTInputSigned(input)) { |
| 590 | count++; |
| 591 | } |
| 592 | } |
| 593 | |
| 594 | return count; |
| 595 | } |
| 596 | |
| 597 | void UpdatePSBTOutput(const SigningProvider& provider, PartiallySignedTransaction& psbt, int index) |
| 598 | { |