None ripped off for optional as wallet must have exchange and currency

This commit is contained in:
misagh 2018-11-21 21:05:20 +01:00
parent b129750f4d
commit 4d75e9059c

View File

@ -9,8 +9,8 @@ logger = logging.getLogger(__name__)
class Wallet(NamedTuple):
exchange: Optional[str] = None
currency: Optional[str] = None
exchange: Optional[str]
currency: Optional[str]
free: float = 0
used: float = 0
total: float = 0