mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-10 01:24:30 +01:00
wallet: Make the linter happy about int vs size_t comparison
Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
@@ -400,7 +400,7 @@ static void json_listfunds(struct command *cmd, const char *buffer UNUSED,
|
||||
wallet_get_utxos(cmd, cmd->ld->wallet, output_state_available);
|
||||
json_object_start(response, NULL);
|
||||
json_array_start(response, "outputs");
|
||||
for (int i = 0; i < tal_count(utxos); i++) {
|
||||
for (size_t i = 0; i < tal_count(utxos); i++) {
|
||||
json_object_start(response, NULL);
|
||||
json_add_txid(response, "txid", &utxos[i]->txid);
|
||||
json_add_num(response, "output", utxos[i]->outnum);
|
||||
|
||||
Reference in New Issue
Block a user