diff --git a/src/js/models/profile.js b/src/js/models/profile.js index 7690d1c2d..56cc48e2e 100644 --- a/src/js/models/profile.js +++ b/src/js/models/profile.js @@ -76,7 +76,7 @@ Profile.prototype.merge = function(other) { other.credentials.forEach(function(otherCredential) { var credentialExists = false; thisProfile.credentials.forEach(function(thisCredential) { - if (otherCredential.walletId === thisCredential.walletId) { + if (otherCredential.mnemonic === thisCredential.mnemonic) { credentialExists = true; } });