fix ccupgrade test after master merge

This commit is contained in:
Łukasz Magiera 2020-07-06 12:09:09 +02:00
parent 4b0ae7ef9a
commit 4b44e4e73a

View File

@ -40,7 +40,7 @@ func TestCCUpgrade(t *testing.T, b APIBuilder, blocktime time.Duration) {
defer close(done)
for atomic.LoadInt64(&mine) == 1 {
time.Sleep(blocktime)
if err := sn[0].MineOne(ctx, func(bool) {}); err != nil {
if err := sn[0].MineOne(ctx, func(bool, error) {}); err != nil {
t.Error(err)
}
}