diff --git a/bit-wallet/cli-utils.js b/bit-wallet/cli-utils.js index 1f47be4..5bab010 100644 --- a/bit-wallet/cli-utils.js +++ b/bit-wallet/cli-utils.js @@ -33,7 +33,7 @@ Utils.shortID = function(id) { Utils.getClient = function(args) { var storage = new Client.FileStorage({ - filename: args.config + filename: args.config || process.env['BIT_FILE'], }); return new Client({ storage: storage,