mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-22 00:24:19 +01:00
pay: fix corner case where we eliminate our own hint.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Fixed: `pay`: Fix occasional crash paying an invoice with a routehint to us.
This commit is contained in:
@@ -2361,6 +2361,7 @@ static struct route_info **filter_routehints(struct gossmap *map,
|
||||
"Removed empty routehint %zu. ", i);
|
||||
tal_arr_remove(&hints, i);
|
||||
i--;
|
||||
continue;
|
||||
}
|
||||
|
||||
/* If routehint entrypoint is unreachable there's no
|
||||
|
||||
Reference in New Issue
Block a user