Allow WALLET_PASSPHRASE environ var in keyfile cli tool

This commit is contained in:
nolash
2021-11-25 18:00:34 +01:00
parent 2cdccd821f
commit 39435b67ba
2 changed files with 2 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ if args.k != None:
def main():
global pk_hex
passphrase = os.environ.get('PASSPHRASE')
passphrase = os.environ.get('WALLET_PASSPHRASE', os.environ.get('PASSPHRASE'))
if args.z:
passphrase = ''
r = None