Merge pull request #950 from motorina0/fix_onchain_account_type

fix: type can be `None` due to migration issue
This commit is contained in:
Arc 2022-09-09 10:00:40 +01:00 committed by GitHub
commit 9296e295ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,7 @@ class WalletAccount(BaseModel):
title: str
address_no: int
balance: int
type: str = ""
type: Optional[str] = ""
network: str = "Mainnet"
@classmethod