diff options
Diffstat (limited to 'core/consensus_test.go')
-rw-r--r-- | core/consensus_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/consensus_test.go b/core/consensus_test.go index 6163e6a..1b03321 100644 --- a/core/consensus_test.go +++ b/core/consensus_test.go @@ -195,7 +195,7 @@ func (s *ConsensusTestSuite) TestSimpleDeliverBlock() { broadcast := func(b *types.Block) { for _, obj := range objs { h := common.NewRandomHash() - b.Randomness = h[:] + b.Finalization.Randomness = h[:] obj.con.ccModule.registerBlock(b) req.Nil(obj.con.processBlock(b)) } |