Allow WALLET_PASSPHRASE environ var in keyfile cli tool
This commit is contained in:
parent
2cdccd821f
commit
39435b67ba
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user