Browse Source

wallet: Make the linter happy about int vs size_t comparison

Signed-off-by: Christian Decker <decker.christian@gmail.com>
ppa-0.6.1
Christian Decker 7 years ago
parent
commit
16004684c9
  1. 2
      wallet/walletrpc.c

2
wallet/walletrpc.c

@ -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);

Loading…
Cancel
Save