Skip to content

Commit

Permalink
Fix TestDealMining
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
  • Loading branch information
Jakub Sztandera committed Jun 23, 2020
1 parent 156a14e commit 30135f9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/test/mining.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,10 @@ func TestDealMining(t *testing.T, b APIBuilder, blocktime time.Duration, carExpo

expect := <-wait
expect += <-wait
if expect == 0 {
// null block
continue
}

time.Sleep(blocktime)

Expand Down

0 comments on commit 30135f9

Please sign in to comment.