diff --git a/src/sakia/core/account.py b/src/sakia/core/account.py
index e713d64a4966c596c3d67068395eece17d7bff00..66177805b5579c7de7d11270bfd77043e4881001 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])