Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
matiu committed Feb 24, 2015
1 parent a963b03 commit 7734c42
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ node_modules

*.swp
out/
db/
db/*

.bit
2 changes: 1 addition & 1 deletion bit-wallet/cli-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down
Empty file added db/.empty
Empty file.
2 changes: 1 addition & 1 deletion lib/storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
});
};
Expand Down

0 comments on commit 7734c42

Please sign in to comment.