1
0

payment_identifter: add FIXME

This commit is contained in:
ThomasV
2023-07-09 10:05:31 +02:00
parent 5cf320b2c7
commit 6bacd65a80

View File

@@ -641,6 +641,8 @@ class PaymentIdentifier(Logger):
return False
def get_invoice(self, amount_sat, message):
# FIXME: this should not be a PI method
# ideally, PI should not have a reference to wallet.
if self.is_lightning():
invoice = self.bolt11
if not invoice: