fix tests
This commit is contained in:
parent
5a2dfe690d
commit
260adc8587
1 changed files with 5 additions and 5 deletions
|
|
@ -122,10 +122,10 @@ WalletFactory.prototype.create = function(opts) {
|
||||||
);
|
);
|
||||||
this.log('\t### PublicKeyRing Initialized');
|
this.log('\t### PublicKeyRing Initialized');
|
||||||
|
|
||||||
opts.txProposals = opts.txProposals || new TxProposalsSet({
|
opts.txProposals = opts.txProposals || new TxProposals({
|
||||||
networkName: this.networkName,
|
networkName: this.networkName,
|
||||||
});
|
});
|
||||||
this.log('\t### TxProposalsSet Initialized');
|
this.log('\t### TxProposals Initialized');
|
||||||
|
|
||||||
this.storage._setPassphrase(opts.passphrase);
|
this.storage._setPassphrase(opts.passphrase);
|
||||||
|
|
||||||
|
|
@ -155,9 +155,9 @@ WalletFactory.prototype._checkVersion = function(inVersion) {
|
||||||
//We only check for major version differences
|
//We only check for major version differences
|
||||||
if (thisV0 < inV0) {
|
if (thisV0 < inV0) {
|
||||||
throw new Error('Major difference in software versions' +
|
throw new Error('Major difference in software versions' +
|
||||||
'. Received:' + inVersion +
|
'. Received:' + inVersion +
|
||||||
'. Current version:' + this.version +
|
'. Current version:' + this.version +
|
||||||
'. Aborting.');
|
'. Aborting.');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue