diff --git a/lib/commands.py b/lib/commands.py index a2bfc9d4..7ce4ae3e 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: