typing fix

This commit is contained in:
Lex Berezhny 2019-03-11 12:30:32 -04:00
parent 7979f0a683
commit f655fefe52

View file

@ -60,7 +60,7 @@ class Wallet:
return account
@property
def hash(self) -> str:
def hash(self) -> bytes:
h = sha256()
for account in sorted(self.accounts, key=attrgetter('id')):
h.update(account.hash)