mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-22 16:44:20 +01:00
paymod: Make the transition to FAILED a function call
We need to set some variables as well, and the transition to FAILED is a bit special in that quite some modifiers will skip into FAILED.
This commit is contained in:
@@ -1726,7 +1726,7 @@ static void init(struct plugin *p,
|
||||
maxdelay_default = atoi(field);
|
||||
}
|
||||
|
||||
struct payment_modifier *paymod_mods[3] = {
|
||||
struct payment_modifier *paymod_mods[] = {
|
||||
&local_channel_hints_pay_mod,
|
||||
&retry_pay_mod,
|
||||
NULL,
|
||||
|
||||
Reference in New Issue
Block a user