| 201 | } |
| 202 | |
| 203 | static struct fee_sum *find_sum_for_txid(struct fee_sum **sums, |
| 204 | struct bitcoin_txid *txid) |
| 205 | { |
| 206 | for (size_t i = 0; i < tal_count(sums); i++) { |
| 207 | if (bitcoin_txid_eq(txid, sums[i]->txid)) |
| 208 | return sums[i]; |
| 209 | } |
| 210 | return NULL; |
| 211 | } |
| 212 | |
| 213 | #define LISTCHANNELMOVES_LIMIT 10000 |
| 214 | static struct command_result *listchannelmoves_done(struct command *cmd, |