pull/3682/head
Rongjian Lan 4 years ago
parent 32c21b173d
commit a0cc096111
  1. 1
      node/node_handler_test.go

@ -172,6 +172,7 @@ func TestVerifyVRF(t *testing.T) {
// Write shard state for the new epoch // Write shard state for the new epoch
node.Blockchain().WriteShardStateBytes(node.Blockchain().ChainDb(), big.NewInt(1), node.Worker.GetCurrentHeader().ShardState()) 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( if err := node.Blockchain().Engine().VerifyVRF(
node.Blockchain(), block.Header(), node.Blockchain(), block.Header(),
); err != nil { ); err != nil {

Loading…
Cancel
Save