plugin: Fix misspelled COMPAT_V090 compile guards

This commit is contained in:
Christian Decker
2020-07-18 10:10:51 +02:00
parent 2146a548bd
commit 65ca634528

View File

@@ -1271,7 +1271,7 @@ static struct pay_status *add_pay_status(struct pay_command *pc,
return ps; return ps;
} }
#ifndef COMPAT_090 #ifndef COMPAT_V090
UNUSED UNUSED
#endif #endif
static struct command_result *json_pay(struct command *cmd, static struct command_result *json_pay(struct command *cmd,
@@ -1842,10 +1842,10 @@ static void init(struct plugin *p,
struct payment_modifier *paymod_mods[] = { struct payment_modifier *paymod_mods[] = {
&local_channel_hints_pay_mod, &local_channel_hints_pay_mod,
&directpay_pay_mod,
&shadowroute_pay_mod,
&exemptfee_pay_mod, &exemptfee_pay_mod,
&directpay_pay_mod,
&presplit_pay_mod, &presplit_pay_mod,
&shadowroute_pay_mod,
&routehints_pay_mod, &routehints_pay_mod,
&waitblockheight_pay_mod, &waitblockheight_pay_mod,
&retry_pay_mod, &retry_pay_mod,
@@ -1973,7 +1973,7 @@ static struct command_result *json_paymod(struct command *cmd,
} }
static const struct plugin_command commands[] = { static const struct plugin_command commands[] = {
#ifdef COMPAT_v090 #ifdef COMPAT_V090
{ {
"legacypay", "legacypay",
"payment", "payment",