checks network match when joining a wallet
This commit is contained in:
parent
c5a3049b9d
commit
4ae3748414
5 changed files with 26 additions and 5 deletions
|
|
@ -248,7 +248,7 @@ PublicKeyRing.prototype._checkInPKR = function(inPKR, ignoreId) {
|
|||
}
|
||||
|
||||
if (this.network.name !== inPKR.network.name) {
|
||||
throw new Error('inPKR network mismatch. Should be '+this.network.name +
|
||||
throw new Error('Network mismatch. Should be '+this.network.name +
|
||||
' and found '+inPKR.network.name);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue