| 1087 | } |
| 1088 | |
| 1089 | static u32 psbt_input_sequence(const struct wally_psbt *psbt, size_t index) |
| 1090 | { |
| 1091 | if (psbt->version == WALLY_PSBT_VERSION_0) |
| 1092 | return psbt->tx->inputs[index].sequence; |
| 1093 | return psbt->inputs[index].sequence; |
| 1094 | } |
| 1095 | |
| 1096 | static u64 psbt_output_amount(const struct wally_psbt *psbt, size_t index) |
| 1097 | { |