diff options
Diffstat (limited to 'core/reliable-broadcast_test.go')
-rw-r--r-- | core/reliable-broadcast_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/reliable-broadcast_test.go b/core/reliable-broadcast_test.go index c6e9400..28edda7 100644 --- a/core/reliable-broadcast_test.go +++ b/core/reliable-broadcast_test.go @@ -514,7 +514,8 @@ func (s *ReliableBroadcastTest) TestRandomlyGeneratedBlocks() { } }() gen := test.NewBlocksGenerator(nil, hashBlock) - s.Require().Nil(gen.Generate(validatorCount, blockCount, nil, db)) + _, err = gen.Generate(validatorCount, blockCount, nil, db) + s.Require().Nil(err) iter, err := db.GetAll() s.Require().Nil(err) // Setup a revealer that would reveal blocks randomly. |