From 2d046cc16a0d1d7fcab7fa1beca1cc2ba086d5af Mon Sep 17 00:00:00 2001 From: parmarrushabh Date: Tue, 26 Mar 2019 14:28:13 +0530 Subject: [PATCH] tip block randomize --- common/constants.go | 2 +- consensus/XDPoS/XDPoS_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/constants.go b/common/constants.go index 4439f36a1d..6ccca41d4f 100644 --- a/common/constants.go +++ b/common/constants.go @@ -24,7 +24,7 @@ const ( var TIP2019Block = big.NewInt(1050000) var TIPSigning = big.NewInt(3000000) -var TIPRandomize = big.NewInt(901) +var TIPRandomize = big.NewInt(3374780) var IsTestnet bool = false var StoreRewardFolder string var RollbackHash Hash diff --git a/consensus/XDPoS/XDPoS_test.go b/consensus/XDPoS/XDPoS_test.go index 7bb50dcf7e..ebb6b332d0 100644 --- a/consensus/XDPoS/XDPoS_test.go +++ b/consensus/XDPoS/XDPoS_test.go @@ -44,4 +44,4 @@ func TestGetM1M2FromCheckpointHeader(t *testing.T) { t.Error("wrong moveM2", "want", uint64(i/3), "have", moveM2) } } -} \ No newline at end of file +}