From 0870f48b5caaaa78e505b398ce13962b5ecdbc19 Mon Sep 17 00:00:00 2001 From: vyzo Date: Tue, 18 Jan 2022 17:13:35 +0200 Subject: [PATCH] fix mocknet.New invocation --- chain/sync_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chain/sync_test.go b/chain/sync_test.go index 2af8aeb54..ae22b251c 100644 --- a/chain/sync_test.go +++ b/chain/sync_test.go @@ -103,7 +103,7 @@ func prepSyncTest(t testing.TB, h int) *syncTestUtil { ctx: ctx, cancel: cancel, - mn: mocknet.New(ctx), + mn: mocknet.New(), g: g, us: filcns.DefaultUpgradeSchedule(), } @@ -157,7 +157,7 @@ func prepSyncTestWithV5Height(t testing.TB, h int, v5height abi.ChainEpoch) *syn ctx: ctx, cancel: cancel, - mn: mocknet.New(ctx), + mn: mocknet.New(), g: g, us: sched, }