| 1123 | } |
| 1124 | |
| 1125 | static u32 psbt_input_sequence(const struct wally_psbt *psbt, size_t index) |
| 1126 | { |
| 1127 | if (psbt->version == WALLY_PSBT_VERSION_0) |
| 1128 | return psbt->tx->inputs[index].sequence; |
| 1129 | return psbt->inputs[index].sequence; |
| 1130 | } |
| 1131 | |
| 1132 | static u64 psbt_output_amount(const struct wally_psbt *psbt, size_t index) |
| 1133 | { |