Skip to content

Commit

Permalink
WIP disable committee wallet validation
Browse files Browse the repository at this point in the history
  • Loading branch information
selankon committed Sep 19, 2023
1 parent 43a87be commit e9774ec
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/components/addCommitteeMembers/row.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,14 @@ const WalletRow: React.FC<WalletRowProps> = ({index, onDelete}) => {
)
) {
validationResult = t('errors.duplicateAddress');
} else if (
(membership === 'multisig' &&
!walletInWalletList(web3Address, multisigWallets)) ||
(membership === 'token' && !walletInWalletList(web3Address, wallets))
) {
validationResult = t('errors.addressNotElegible');
}
// else if (
// (membership === 'multisig' &&
// !walletInWalletList(web3Address, multisigWallets)) ||
// (membership === 'token' && !walletInWalletList(web3Address, wallets))
// ) {
// validationResult = t('errors.addressNotElegible');
// }
return validationResult;
},
[provider, t, committee]
Expand Down

0 comments on commit e9774ec

Please sign in to comment.