60% for Polkadot
This commit is contained in:
parent
a84862f670
commit
d428b6b4d7
@ -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) }),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user