commit ca765b662233423e3637522d3c198a5b373f578e parent 8f314209b4f9c852308eb7e4b31c1e8643283adf Author: ThomasV <thomasv@gitorious> Date: Wed, 3 Sep 2014 18:52:43 +0200 getseed: display seed as utf8 Diffstat:
M | lib/commands.py | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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: