diff --git a/src/cutecoin/core/account.py b/src/cutecoin/core/account.py index 2a5529be559cbd1e33538c251d6eaa649c1c0f59..3c70fb749a4c25e884a8b53831f6151fe4d2e8be 100644 --- a/src/cutecoin/core/account.py +++ b/src/cutecoin/core/account.py @@ -445,8 +445,8 @@ class Account(QObject): selfcert = yield from self_identity.selfcert(community) membership = Membership(PROTOCOL_VERSION, community.currency, - selfcert.pubkey, blockid['number'], - blockid['hash'], mstype, selfcert.uid, + selfcert.pubkey, blockid.number, + blockid.sha_hash, mstype, selfcert.uid, selfcert.timestamp, None) key = SigningKey(self.salt, password) membership.sign([key])