| 343 | }; |
| 344 | |
| 345 | static bool is_in_pubkeys(const struct pubkey *pubkeys, |
| 346 | const struct pubkey *k) |
| 347 | { |
| 348 | for (size_t i = 0; i < tal_count(pubkeys); i++) { |
| 349 | if (pubkey_eq(&pubkeys[i], k)) |
| 350 | return true; |
| 351 | } |
| 352 | return false; |
| 353 | } |
| 354 | |
| 355 | static struct command_result *listincoming_done(struct command *cmd, |
| 356 | const char *method, |