From 38a992b0fb582616d21bda589905bfb99483fd04 Mon Sep 17 00:00:00 2001
From: Inso <insomniak.fr@gmail.com>
Date: Thu, 8 Oct 2015 20:18:28 +0200
Subject: [PATCH] Fix bug #234

---
 src/cutecoin/core/account.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/cutecoin/core/account.py b/src/cutecoin/core/account.py
index 2a5529be..3c70fb74 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])
-- 
GitLab