Skip to content

Commit 3d98db0

Browse files
invoice: create rgb invoice
Signed-off-by: Vincenzo Palazzo <[email protected]>
1 parent 6950048 commit 3d98db0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lightningd/invoice.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -840,6 +840,11 @@ invoice_complete(struct invoice_info *info,
840840
"preimage already used");
841841
}
842842

843+
// FIXME(vincenzopalazzo): to support create rgb lightning invoice we should add:
844+
//
845+
// 1: `rgb_amount` tag that shows the rgb amount on the chain
846+
// 2: `rgb_contract_id` tag that fix the invoice from a specific
847+
// RGB assert.
843848
if (!invoices_create(wallet->invoices,
844849
&inv_dbid,
845850
info->b11->msat,

0 commit comments

Comments
 (0)