From 260adc85877937c1595ad5e7cd11064f2c9ab2a6 Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Tue, 5 Aug 2014 16:42:51 -0300 Subject: [PATCH] fix tests --- js/models/core/WalletFactory.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/js/models/core/WalletFactory.js b/js/models/core/WalletFactory.js index 8858ab2f1..cc56cd976 100644 --- a/js/models/core/WalletFactory.js +++ b/js/models/core/WalletFactory.js @@ -122,10 +122,10 @@ WalletFactory.prototype.create = function(opts) { ); this.log('\t### PublicKeyRing Initialized'); - opts.txProposals = opts.txProposals || new TxProposalsSet({ + opts.txProposals = opts.txProposals || new TxProposals({ networkName: this.networkName, }); - this.log('\t### TxProposalsSet Initialized'); + this.log('\t### TxProposals Initialized'); this.storage._setPassphrase(opts.passphrase); @@ -155,9 +155,9 @@ WalletFactory.prototype._checkVersion = function(inVersion) { //We only check for major version differences if (thisV0 < inV0) { throw new Error('Major difference in software versions' + - '. Received:' + inVersion + - '. Current version:' + this.version + - '. Aborting.'); + '. Received:' + inVersion + + '. Current version:' + this.version + + '. Aborting.'); } };