| 294 | } |
| 295 | |
| 296 | static void json_add_utxos(struct json_stream *response, |
| 297 | struct wallet *wallet, |
| 298 | struct utxo **utxos) |
| 299 | { |
| 300 | for (size_t i = 0; i < tal_count(utxos); i++) |
| 301 | json_add_utxo(response, NULL, wallet, utxos[i]); |
| 302 | } |
| 303 | |
| 304 | static struct command_result *json_listfunds(struct command *cmd, |
| 305 | const char *buffer, |
no test coverage detected