Swap council slashing cancel threshold to 50% (#2151)

This commit is contained in:
Jaco Greeff 2020-01-19 17:12:42 +01:00 committed by GitHub
parent 79df64e86f
commit 8f5d450dd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ export default function Slashing ({ className, isMember }: Props): React.ReactEl
const [proposal, setProposal] = useState<CallFunction | null>(null);
const [eras, setEras] = useState<Option[]>([]);
const [selectedEra, setSelectedEra] = useState(0);
const threshold = Math.ceil((members?.length || 0) * 0.75);
const threshold = Math.ceil((members?.length || 0) * 0.5);
useEffect((): void => {
if (accountId && members) {