payment_identifter: add FIXME
This commit is contained in:
@@ -641,6 +641,8 @@ class PaymentIdentifier(Logger):
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
def get_invoice(self, amount_sat, message):
|
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():
|
if self.is_lightning():
|
||||||
invoice = self.bolt11
|
invoice = self.bolt11
|
||||||
if not invoice:
|
if not invoice:
|
||||||
|
|||||||
Reference in New Issue
Block a user