From 2119ef99d2fbf25d23f3f258e0ec66adf3deb0c5 Mon Sep 17 00:00:00 2001
From: inso <insomniak.fr@gmaiL.com>
Date: Fri, 6 May 2016 13:12:36 +0200
Subject: [PATCH] Fix confirmation text on web of trust view

---
 src/sakia/core/graph/base_graph.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/sakia/core/graph/base_graph.py b/src/sakia/core/graph/base_graph.py
index 3a2cd939..7adc5d2d 100644
--- a/src/sakia/core/graph/base_graph.py
+++ b/src/sakia/core/graph/base_graph.py
@@ -107,7 +107,7 @@ class BaseGraph(QObject):
                             QLocale.dateFormat(QLocale(), QLocale.ShortFormat)
                         ),
                         'cert_time': certifier['cert_time'],
-                        'confirmation_text': self.confirmation_text(certifier['cert_time'])
+                        'confirmation_text': self.confirmation_text(certifier['block_number'])
                     }
 
                     self.nx_graph.add_edge(certifier['identity'].pubkey, identity.pubkey, attr_dict=arc, weight=len(certifier_list))
@@ -145,7 +145,7 @@ class BaseGraph(QObject):
                             QLocale.dateFormat(QLocale(), QLocale.ShortFormat)
                         ),
                         'cert_time': certified['cert_time'],
-                        'confirmation_text': self.confirmation_text(certified['cert_time'])
+                        'confirmation_text': self.confirmation_text(certified['block_number'])
                     }
 
                     self.nx_graph.add_edge(identity.pubkey, certified['identity'].pubkey, attr_dict=arc,
-- 
GitLab