more tests fixes

This commit is contained in:
Matias Alejo Garcia 2014-09-08 14:24:57 -03:00
commit f48898033f
3 changed files with 46 additions and 27 deletions

View file

@ -91,6 +91,8 @@ WalletFactory.prototype.fromObj = function(obj, skipFields) {
preconditions.checkArgument(obj);
// not stored options
obj.opts = obj.opts || {};
obj.opts.reconnectDelay = this.walletDefaults.reconnectDelay;
// this is only used if private key or public key ring is skipped
@ -231,7 +233,6 @@ WalletFactory.prototype.create = function(opts, cb) {
opts.totalCopayers = totalCopayers;
opts.version = opts.version || this.version;
console.log('[WalletFactory.js.165]'); //TODO
var w = new Wallet(opts);
var self = this;
w.store(function() {