tgetseed: display seed as utf8 - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit ca765b662233423e3637522d3c198a5b373f578e
DIR parent 8f314209b4f9c852308eb7e4b31c1e8643283adf
HTML 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(-)
---
DIR diff --git a/lib/commands.py b/lib/commands.py
t@@ -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: