fix: invoice.payee is None by default.

This commit is contained in:
fiatjaf 2020-09-03 08:53:06 -03:00
parent 6513908a8d
commit dcd3f80974

View File

@ -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