settings: fix tests 3

This commit is contained in:
Manuel Araoz 2014-09-10 14:01:10 -07:00
commit d57e5e73e7
2 changed files with 4 additions and 4 deletions

View file

@ -339,7 +339,7 @@ WalletFactory.prototype.decodeSecret = function(secret) {
WalletFactory.prototype.joinCreateSession = function(secret, nickname, passphrase, privateHex, cb) {
var self = this;
var decodedSecret = this.decodeSecret(secret);
if (!decodedSecret || !decodedSecret.networkName || !decodedSecret.pubkey) {
if (!decodedSecret || !decodedSecret.networkName || !decodedSecret.pubKey) {
return cb('badSecret');
}