From e404cb09a412ff5fe3cac74e47fc5661507f132d Mon Sep 17 00:00:00 2001
From: Inso <insomniak.fr@gmail.com>
Date: Mon, 9 Mar 2015 22:53:02 +0100
Subject: [PATCH] Person constructor replaced with from_metadata

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

diff --git a/src/cutecoin/core/account.py b/src/cutecoin/core/account.py
index 504ae4af..1c678750 100644
--- a/src/cutecoin/core/account.py
+++ b/src/cutecoin/core/account.py
@@ -277,4 +277,5 @@ class Account(QObject):
         return data
 
     def get_person(self):
-        return Person(self.name, self.pubkey)
+        return Person.from_metadata({'text': self.name,
+                                     'id': self.pubkey})
-- 
GitLab