From 6bacd65a80274907db9ac4ed80276ca07955cdd7 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sun, 9 Jul 2023 10:05:31 +0200 Subject: [PATCH] payment_identifter: add FIXME --- electrum/payment_identifier.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/electrum/payment_identifier.py b/electrum/payment_identifier.py index 9b7719d64..c601889a2 100644 --- a/electrum/payment_identifier.py +++ b/electrum/payment_identifier.py @@ -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: