diff --git a/api/proxy_gen.go b/api/proxy_gen.go index 7f54ca03b..64fe24c53 100644 --- a/api/proxy_gen.go +++ b/api/proxy_gen.go @@ -10,11 +10,11 @@ import ( "github.com/google/uuid" blocks "github.com/ipfs/go-block-format" "github.com/ipfs/go-cid" - metrics "github.com/libp2p/go-libp2p-core/metrics" + "github.com/libp2p/go-libp2p-core/metrics" "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/peer" "github.com/libp2p/go-libp2p-core/protocol" - xerrors "golang.org/x/xerrors" + "golang.org/x/xerrors" "github.com/filecoin-project/go-address" "github.com/filecoin-project/go-bitfield" @@ -42,7 +42,7 @@ import ( "github.com/filecoin-project/lotus/storage/pipeline/sealiface" "github.com/filecoin-project/lotus/storage/sealer/fsutil" "github.com/filecoin-project/lotus/storage/sealer/sealtasks" - storiface "github.com/filecoin-project/lotus/storage/sealer/storiface" + "github.com/filecoin-project/lotus/storage/sealer/storiface" ) var ErrNotSupported = xerrors.New("method not supported") diff --git a/chain/actors/builtin/paych/actor.go.template b/chain/actors/builtin/paych/actor.go.template index 8730e6177..a815c880e 100644 --- a/chain/actors/builtin/paych/actor.go.template +++ b/chain/actors/builtin/paych/actor.go.template @@ -8,7 +8,7 @@ import ( "github.com/filecoin-project/go-address" "github.com/filecoin-project/go-state-types/abi" - big "github.com/filecoin-project/go-state-types/big" + "github.com/filecoin-project/go-state-types/big" "github.com/filecoin-project/go-state-types/cbor" ipldcbor "github.com/ipfs/go-ipld-cbor" diff --git a/paychmgr/paychget_test.go b/paychmgr/paychget_test.go index 13ec8ce5a..5f1876664 100644 --- a/paychmgr/paychget_test.go +++ b/paychmgr/paychget_test.go @@ -637,16 +637,16 @@ func TestPaychGetRestartAfterAddFundsMsg(t *testing.T) { require.NoError(t, mgr.Stop()) // Create a new manager with the same datastore - mock := newMockManagerAPI() - defer mock.close() + mock2 := newMockManagerAPI() + defer mock2.close() - mock.setPaychState(ch, act, paychmock.NewMockPayChState(from, to, abi.ChainEpoch(0), make(map[uint64]paych.LaneState))) + mock2.setPaychState(ch, act, paychmock.NewMockPayChState(from, to, abi.ChainEpoch(0), make(map[uint64]paych.LaneState))) - mgr2, err := newManager(store, mock) + mgr2, err := newManager(store, mock2) require.NoError(t, err) // Send success add funds response - mock.receiveMsgResponse(mcid2, types.MessageReceipt{ + mock2.receiveMsgResponse(mcid2, types.MessageReceipt{ ExitCode: 0, Return: []byte{}, })