plugins: don't check for experimental-offers option: it's the default now.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Vincenzo Palazzo
parent
e254d91bd2
commit
46b0eb108b
@@ -840,10 +840,6 @@ struct command_result *json_fetchinvoice(struct command *cmd,
|
||||
NULL))
|
||||
return command_param_failed();
|
||||
|
||||
if (!offers_enabled)
|
||||
return command_fail(cmd, LIGHTNINGD,
|
||||
"experimental-offers not enabled");
|
||||
|
||||
sent->wait_timeout = *timeout;
|
||||
sent->their_paths = sent->offer->offer_paths;
|
||||
if (sent->their_paths)
|
||||
@@ -1316,10 +1312,6 @@ struct command_result *json_sendinvoice(struct command *cmd,
|
||||
NULL))
|
||||
return command_param_failed();
|
||||
|
||||
if (!offers_enabled)
|
||||
return command_fail(cmd, LIGHTNINGD,
|
||||
"experimental-offers not enabled");
|
||||
|
||||
sent->dev_path_use_scidd = NULL;
|
||||
sent->dev_reply_path = NULL;
|
||||
sent->their_paths = sent->invreq->offer_paths;
|
||||
|
||||
Reference in New Issue
Block a user