mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 17:31:36 +00:00
getseed: display seed as utf8
This commit is contained in:
parent
8f314209b4
commit
ca765b6622
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue