Browse Source

fix: invoice.payee is None by default.

aiosqlite
fiatjaf 4 years ago
parent
commit
dcd3f80974
  1. 2
      lnbits/bolt11.py

2
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

Loading…
Cancel
Save