Browse Source

Merge pull request #85 from matiu/small-details

small naming details.
activeAddress
Matias Alejo Garcia 10 years ago
parent
commit
aa3e7b7a41
  1. 2
      .gitignore
  2. 2
      bit-wallet/cli-utils.js
  3. 0
      db/.empty
  4. 2
      lib/storage.js

2
.gitignore

@ -30,6 +30,6 @@ node_modules
*.swp
out/
db/
db/*
.bit

2
bit-wallet/cli-utils.js

@ -109,7 +109,7 @@ Utils.parseAmount = function(text) {
Utils.configureCommander = function(program) {
program
.version('0.0.1')
.option('-f, --file [filename]', 'Wallet file', 'bit.dat')
.option('-f, --file [filename]', 'Wallet file', process.env['HOME'] + '/.bit.dat')
.option('-h, --host [host]', 'Bitcore Wallet Service URL (eg: http://localhost:3001/copay/api')
.option('-v, --verbose', 'be verbose')

0
db/.empty

2
lib/storage.js

@ -16,7 +16,7 @@ var Notification = require('./model/notification');
var Storage = function(opts) {
opts = opts || {};
this.db = opts.db || levelup(opts.dbPath || './db/copay.db', {
this.db = opts.db || levelup(opts.dbPath || './db/bws.db', {
valueEncoding: 'json'
});
};

Loading…
Cancel
Save