Swap fast track enactment delay to 1 hr (#5690)

This commit is contained in:
Jaco 2021-06-25 20:08:20 +03:00 committed by GitHub
parent e793873c3b
commit fa6c1b964c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,9 +23,10 @@ interface ProposalState {
proposalLength: number;
}
const ONE_MIN = (1 * 60) / 6;
const DEF_DELAY = new BN(ONE_MIN);
const DEF_VOTING = new BN(ONE_MIN * 60 * 3);
// default, assuming 6s blocks
const ONE_HOUR = (60 * 60) / 6;
const DEF_DELAY = new BN(ONE_HOUR);
const DEF_VOTING = new BN(3 * ONE_HOUR);
function Fasttrack ({ imageHash, members, threshold }: Props): React.ReactElement<Props> | null {
const { t } = useTranslation();