Skip to content

Commit

Permalink
add in missing block generate
Browse files Browse the repository at this point in the history
  • Loading branch information
chee-chyuan committed Dec 29, 2021
1 parent 00b78ce commit 104c633
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ describe('Masternode', () => {
})

it('should be empty when block is not 15', async () => {
for (let i = 0; i < 15; i++) {
for (let i = 0; i < 14; i++) {
await tGroup.get(0).generate(1)
await tGroup.waitForSync()
const blockNumber = await tGroup.get(0).rpc.blockchain.getBlockCount()
expect(blockNumber).toBeLessThan(15)

Expand Down

0 comments on commit 104c633

Please sign in to comment.