diff options
Diffstat (limited to 'core/blockchain_test.go')
-rw-r--r-- | core/blockchain_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/blockchain_test.go b/core/blockchain_test.go index ea604a2..c3d2cb7 100644 --- a/core/blockchain_test.go +++ b/core/blockchain_test.go @@ -415,6 +415,7 @@ func (s *BlockChainTestSuite) TestNextBlockAndTipRound() { s.Require().Equal(nextT, s.dMoment) // Add one block. s.Require().NoError(bc.addBlock(blocks[0])) + s.Require().Len(bc.extractBlocks(), 1) nextH, nextT = bc.nextBlock() s.Require().Equal(nextH, uint64(2)) s.Require().Equal( |