settings: fix tests 3
This commit is contained in:
parent
28dff691fd
commit
d57e5e73e7
2 changed files with 4 additions and 4 deletions
|
|
@ -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');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue