diff --git a/app/pages/Multisig/index.js b/app/pages/Multisig/index.js index 5a732879e..bdf973dd2 100644 --- a/app/pages/Multisig/index.js +++ b/app/pages/Multisig/index.js @@ -237,6 +237,11 @@ class KeyInputRow extends Component { return; } + if (walletKeys.includes(accountKey)) { + this.props.showError(t('multisigAccountKeyExists')); + return; + } + try { // N - 1 (for us) - num(other added keys as of now) const remainingKeys = (walletN - 1 - walletKeys.length); diff --git a/locales/en.json b/locales/en.json index 816ee220f..6b0614c01 100644 --- a/locales/en.json +++ b/locales/en.json @@ -220,6 +220,7 @@ "me": "me", "miscellaneous": "Miscellaneous", "multisigAccountKey": "Account Key (xpub)", + "multisigAccountKeyExists": "This account key has already been added.", "multisigAccountKeyInvalid": "Invalid account key.", "multisigActions": "Actions", "multisigLoadTx": "Load Transaction",