From df88b601d2191445087682870151373d7eec7fd6 Mon Sep 17 00:00:00 2001 From: Rongjian Lan Date: Sun, 18 Oct 2020 21:34:19 -0700 Subject: [PATCH] update testnet epoch for agg sig --- consensus/consensus_service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consensus/consensus_service.go b/consensus/consensus_service.go index 3f9f35ac4..730fab4c2 100644 --- a/consensus/consensus_service.go +++ b/consensus/consensus_service.go @@ -312,7 +312,7 @@ func (consensus *Consensus) UpdateConsensusInformation() Mode { // Enable aggregate sig at epoch 1000 for mainnet, at epoch 53000 for testnet, and always for other nets. if (consensus.ChainReader.Config().ChainID == params.MainnetChainID && curEpoch.Cmp(big.NewInt(1000)) > 0) || - (consensus.ChainReader.Config().ChainID == params.TestnetChainID && curEpoch.Cmp(big.NewInt(53000)) > 0) || + (consensus.ChainReader.Config().ChainID == params.TestnetChainID && curEpoch.Cmp(big.NewInt(54500)) > 0) || (consensus.ChainReader.Config().ChainID != params.MainnetChainID && consensus.ChainReader.Config().ChainID != params.TestChainID) { consensus.AggregateSig = true }