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