|
22 | 22 | /* Public key of this node. */ |
23 | 23 | static struct node_id my_id; |
24 | 24 | static unsigned int maxdelay_default; |
25 | | -static bool exp_offers; |
26 | 25 | static bool disablempp = false; |
27 | 26 | static struct channel_hint_set *global_hints; |
28 | 27 |
|
@@ -648,10 +647,8 @@ static const char *init(struct command *init_cmd, |
648 | 647 | /* max-locktime-blocks deprecated in v24.05, but still grab it! */ |
649 | 648 | rpc_scan(init_cmd, "listconfigs", take(json_out_obj(NULL, NULL, NULL)), |
650 | 649 | "{configs:" |
651 | | - "{max-locktime-blocks?:{value_int:%}," |
652 | | - "experimental-offers:{set:%}}}", |
653 | | - JSON_SCAN(json_to_number, &maxdelay_default), |
654 | | - JSON_SCAN(json_to_bool, &exp_offers)); |
| 650 | + "{max-locktime-blocks?:{value_int:%}}}", |
| 651 | + JSON_SCAN(json_to_number, &maxdelay_default)); |
655 | 652 |
|
656 | 653 | plugin_set_memleak_handler(init_cmd->plugin, memleak_mark_payments); |
657 | 654 | return NULL; |
@@ -1373,9 +1370,6 @@ static struct command_result *json_pay(struct command *cmd, |
1373 | 1370 | if (b12 == NULL) |
1374 | 1371 | return command_fail(cmd, JSONRPC2_INVALID_PARAMS, |
1375 | 1372 | "Invalid bolt12: %s", b12_fail); |
1376 | | - if (!exp_offers) |
1377 | | - return command_fail(cmd, JSONRPC2_INVALID_PARAMS, |
1378 | | - "experimental-offers disabled"); |
1379 | 1373 |
|
1380 | 1374 | /* FIXME: We disable MPP for now */ |
1381 | 1375 | /* p->features = tal_steal(p, b12->features); */ |
|
0 commit comments