settings: fix balance bug 2

This commit is contained in:
Manuel Araoz 2014-09-03 16:03:31 -03:00
commit 53869531c2
2 changed files with 4 additions and 4 deletions

View file

@ -73,7 +73,7 @@ function Wallet(opts) {
this.id = opts.id || Wallet.getRandomId();
this.secretNumber = opts.secretNumber || Wallet.getRandomNumber();
this.lock = new WalletLock(this.storage, this.id, opts.lockTimeOutMin);
this.settings = opts.settings || copayConfig.settings;
this.settings = opts.settings || copayConfig.wallet.settings;
this.name = opts.name;
this.publicKeyRing.walletId = this.id;