60% for Polkadot

This commit is contained in:
Jaco Greeff 2020-07-20 18:35:46 +02:00
parent a84862f670
commit d428b6b4d7

View File

@ -33,7 +33,7 @@ function ProposeExternal ({ className = '', isMember, members }: Props): React.R
const [accountId, setAcountId] = useState<string | null>(null);
const [{ proposal, proposalLength }, setProposal] = useState<ProposalState>({ proposalLength: 0 });
const [{ hash, isHashValid }, setHash] = useState<HashState>({ hash: '', isHashValid: false });
const threshold = Math.ceil((members.length || 0) * 0.5);
const threshold = Math.ceil((members.length || 0) * 0.6); // 60 for Polkadot
const _onChangeHash = useCallback(
(hash?: string): void => setHash({ hash, isHashValid: isHex(hash, 256) }),