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 {