From dcd3f8097419cbd3d09ada8731724d5d63382658 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Thu, 3 Sep 2020 08:53:06 -0300 Subject: [PATCH] fix: invoice.payee is None by default. --- lnbits/bolt11.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnbits/bolt11.py b/lnbits/bolt11.py index 184844f..417aa2f 100644 --- a/lnbits/bolt11.py +++ b/lnbits/bolt11.py @@ -21,7 +21,7 @@ class Invoice(object): amount_msat: int = 0 description: Optional[str] = None description_hash: Optional[str] = None - payee: str + payee: Optional[str] = None date: int expiry: int = 3600 secret: Optional[str] = None