mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
plugins/libplugin-pay: use gossmap.
This is a fairly direct translation. Even so, it should be faster in most cases, and and we can do more sophisticated things if we want. This also handles disabled channels better. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Changed: plugins: `pay` will now try disabled channels as a last resort.
This commit is contained in:
@@ -235,7 +235,7 @@ struct payment {
|
||||
struct node_id *excluded_nodes;
|
||||
|
||||
/* Optional temporarily excluded channels/nodes (i.e. this routehint) */
|
||||
const char **temp_exclusion;
|
||||
struct node_id *temp_exclusion;
|
||||
|
||||
struct payment_result *result;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user