commit
aa3e7b7a41
|
@ -30,6 +30,6 @@ node_modules
|
|||
|
||||
*.swp
|
||||
out/
|
||||
db/
|
||||
db/*
|
||||
|
||||
.bit
|
||||
|
|
|
@ -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')
|
||||
|
||||
|
|
|
@ -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…
Reference in New Issue