File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -1065,6 +1065,8 @@ static struct command_result *json_pay(struct command *cmd,
10651065 /* FIXME: parameter should be invstring now */
10661066 p_req ("bolt11" , param_invstring , & b11str ),
10671067 p_opt ("amount_msat" , param_msat , & msat ),
1068+ // FIXME(vincenzopalazzo): adds the rgb_amount value that
1069+ // can be (maybe) optional inside the invoice.
10681070 p_opt ("label" , param_string , & label ),
10691071 p_opt_def ("riskfactor" , param_millionths ,
10701072 & riskfactor_millionths , 10000000 ),
@@ -1122,6 +1124,7 @@ static struct command_result *json_pay(struct command *cmd,
11221124 "Invalid bolt11:"
11231125 " sets feature var_onion with no secret" );
11241126 } else {
1127+ // FIXME(vincenzopalazzo): fails if it is an bolt12 offer.
11251128 b12 = invoice_decode (tmpctx , b11str , strlen (b11str ),
11261129 plugin_feature_set (cmd -> plugin ),
11271130 chainparams , & b12_fail );
You can’t perform that action at this time.
0 commit comments