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 @@ -1073,6 +1073,8 @@ static struct command_result *json_pay(struct command *cmd,
10731073 /* FIXME: parameter should be invstring now */
10741074 p_req ("bolt11" , param_invstring , & b11str ),
10751075 p_opt ("amount_msat" , param_msat , & msat ),
1076+ // FIXME(vincenzopalazzo): adds the rgb_amount value that
1077+ // can be (maybe) optional inside the invoice.
10761078 p_opt ("label" , param_string , & label ),
10771079 p_opt_def ("riskfactor" , param_millionths ,
10781080 & riskfactor_millionths , 10000000 ),
@@ -1130,6 +1132,7 @@ static struct command_result *json_pay(struct command *cmd,
11301132 "Invalid bolt11:"
11311133 " sets feature var_onion with no secret" );
11321134 } else {
1135+ // FIXME(vincenzopalazzo): fails if it is an bolt12 offer.
11331136 b12 = invoice_decode (tmpctx , b11str , strlen (b11str ),
11341137 plugin_feature_set (cmd -> plugin ),
11351138 chainparams , & b12_fail );
You can’t perform that action at this time.
0 commit comments