From a0cc09611175f53b65f1031dbe716beda1910fb7 Mon Sep 17 00:00:00 2001 From: Rongjian Lan Date: Wed, 5 May 2021 14:10:19 -0700 Subject: [PATCH] fix test --- node/node_handler_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/node/node_handler_test.go b/node/node_handler_test.go index 24c2f4279..eb76f1f50 100644 --- a/node/node_handler_test.go +++ b/node/node_handler_test.go @@ -172,6 +172,7 @@ func TestVerifyVRF(t *testing.T) { // Write shard state for the new epoch node.Blockchain().WriteShardStateBytes(node.Blockchain().ChainDb(), big.NewInt(1), node.Worker.GetCurrentHeader().ShardState()) + node.Blockchain().Config().VRFEpoch = big.NewInt(0) if err := node.Blockchain().Engine().VerifyVRF( node.Blockchain(), block.Header(), ); err != nil {