mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
Remove general shadowed variables.
We shadow local variables in several places: generally, these changes make the code clearer. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
neil saitug
parent
6a7d40f51a
commit
6fe570820e
@@ -506,7 +506,7 @@ static struct command_result *listsendpays_done(struct command *cmd,
|
||||
|
||||
ret = jsonrpc_stream_success(cmd);
|
||||
json_array_start(ret, "pays");
|
||||
for (size_t i = 0; i < tal_count(order); i++) {
|
||||
for (i = 0; i < tal_count(order); i++) {
|
||||
pm = pay_map_get(&pay_map, &order[i]);
|
||||
assert(pm != NULL);
|
||||
add_new_entry(ret, buf, pm);
|
||||
|
||||
Reference in New Issue
Block a user