simplify getseed: do not return hex
This commit is contained in:
@@ -251,8 +251,7 @@ class Commands:
|
|||||||
|
|
||||||
def getseed(self):
|
def getseed(self):
|
||||||
mnemonic = self.wallet.get_mnemonic(self.password)
|
mnemonic = self.wallet.get_mnemonic(self.password)
|
||||||
seed = self.wallet.get_seed(self.password)
|
return { 'mnemonic':mnemonic, 'version':self.wallet.seed_version }
|
||||||
return { 'mnemonic':mnemonic, 'seed':seed, 'version':self.wallet.seed_version }
|
|
||||||
|
|
||||||
def importprivkey(self, sec):
|
def importprivkey(self, sec):
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user