Fix TestDealMining

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera 2020-06-23 20:07:49 +02:00
parent 156a14eeeb
commit 2165728088
No known key found for this signature in database
GPG Key ID: 9A9AF56F8B3879BA

View File

@ -153,6 +153,10 @@ func TestDealMining(t *testing.T, b APIBuilder, blocktime time.Duration, carExpo
expect += <-wait
time.Sleep(blocktime)
if expect == 0 {
// null block
continue
}
for {
n := 0