Set status of onchain invoices to PR_INFLIGHT while tx is being broadcast
This commit is contained in:
@@ -243,6 +243,7 @@ class BaseInvoice(StoredObject):
|
||||
class Invoice(BaseInvoice):
|
||||
lightning_invoice = attr.ib(type=str, kw_only=True) # type: Optional[str]
|
||||
__lnaddr = None
|
||||
_is_broadcasting = False
|
||||
|
||||
def is_lightning(self):
|
||||
return self.lightning_invoice is not None
|
||||
|
||||
Reference in New Issue
Block a user