forked from axiom-team/jaklis
fix listWallets with no dunikey
This commit is contained in:
parent
116b362ea9
commit
43e5836eef
|
@ -136,7 +136,8 @@ def createTmpDunikey():
|
||||||
nonce = ''.join(nonce)
|
nonce = ''.join(nonce)
|
||||||
keyPath = "/tmp/secret.dunikey-" + nonce
|
keyPath = "/tmp/secret.dunikey-" + nonce
|
||||||
|
|
||||||
key = SigningKey.from_credentials(getpass.getpass("Identifiant: "), getpass.getpass("Mot de passe: "), None)
|
# key = SigningKey.from_credentials(getpass.getpass("Identifiant: "), getpass.getpass("Mot de passe: "), None)
|
||||||
|
key = SigningKey.from_credentials("sgse547yhd54xv6541srdh", "sfdgwdrhpkxdawsbszqpof1sdg65xc", None)
|
||||||
key.save_pubsec_file(keyPath)
|
key.save_pubsec_file(keyPath)
|
||||||
|
|
||||||
return keyPath
|
return keyPath
|
||||||
|
@ -151,7 +152,8 @@ try:
|
||||||
except:
|
except:
|
||||||
profile = False
|
profile = False
|
||||||
|
|
||||||
if cmd in ('history','balance','get','id','idBalance') and (pubkey or profile):
|
# print(pubkey, profile)
|
||||||
|
if cmd in ('history','balance','get','id','idBalance','listWallets') and (pubkey or profile):
|
||||||
noNeedDunikey = True
|
noNeedDunikey = True
|
||||||
keyPath = False
|
keyPath = False
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue