typing fix
This commit is contained in:
parent
7979f0a683
commit
f655fefe52
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class Wallet:
|
||||||
return account
|
return account
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def hash(self) -> str:
|
def hash(self) -> bytes:
|
||||||
h = sha256()
|
h = sha256()
|
||||||
for account in sorted(self.accounts, key=attrgetter('id')):
|
for account in sorted(self.accounts, key=attrgetter('id')):
|
||||||
h.update(account.hash)
|
h.update(account.hash)
|
||||||
|
|
Loading…
Add table
Reference in a new issue