From 3b6f41fe907c496ae9c1851c00c64a526b290e9b Mon Sep 17 00:00:00 2001
From: Inso <insomniak.fr@gmail.com>
Date: Thu, 28 Jan 2016 19:52:09 +0100
Subject: [PATCH] Fix send certification

---
 src/sakia/core/account.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/sakia/core/account.py b/src/sakia/core/account.py
index e713d64a..66177805 100644
--- a/src/sakia/core/account.py
+++ b/src/sakia/core/account.py
@@ -491,8 +491,7 @@ class Account(QObject):
         selfcert = await identity.selfcert(community)
         if selfcert:
             certification = Certification(PROTOCOL_VERSION, community.currency,
-                                          self.pubkey, pubkey,
-                                          blockid.number, blockid.sha_hash, None)
+                                          self.pubkey, pubkey, blockid, None)
 
             key = SigningKey(self.salt, password)
             certification.sign(selfcert, [key])
-- 
GitLab