settings: added test for new secret scheme
This commit is contained in:
parent
520fd762ba
commit
7159cdb712
4 changed files with 15 additions and 4 deletions
|
|
@ -364,7 +364,7 @@ WalletFactory.prototype.joinCreateSession = function(secret, nickname, passphras
|
|||
self.network.greet(decodedSecret.pubKey, opts.secretNumber);
|
||||
self.network.on('data', function(sender, data) {
|
||||
if (data.type === 'walletId') {
|
||||
if (data.networkName !== self.networkName) {
|
||||
if (data.networkName !== decodedSecret.networkName) {
|
||||
return cb('badNetwork');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue