mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 09:21:39 +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()
|
return self.wallet.get_master_public_keys()
|
||||||
|
|
||||||
def getseed(self):
|
def getseed(self):
|
||||||
mnemonic = self.wallet.get_mnemonic(self.password)
|
s = self.wallet.get_mnemonic(self.password)
|
||||||
return { 'mnemonic':mnemonic, 'version':self.wallet.seed_version }
|
return s.encode('utf8')
|
||||||
|
|
||||||
def importprivkey(self, sec):
|
def importprivkey(self, sec):
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Reference in a new issue