From ca765b662233423e3637522d3c198a5b373f578e Mon Sep 17 00:00:00 2001 From: ThomasV Date: Wed, 3 Sep 2014 18:52:43 +0200 Subject: [PATCH] getseed: display seed as utf8 --- lib/commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/commands.py b/lib/commands.py index a2bfc9d41..7ce4ae3e4 100644 --- a/lib/commands.py +++ b/lib/commands.py @@ -245,8 +245,8 @@ class Commands: return self.wallet.get_master_public_keys() def getseed(self): - mnemonic = self.wallet.get_mnemonic(self.password) - return { 'mnemonic':mnemonic, 'version':self.wallet.seed_version } + s = self.wallet.get_mnemonic(self.password) + return s.encode('utf8') def importprivkey(self, sec): try: