Skip to content

Commit

Permalink
fix: supplier client test
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanchriswhite committed Nov 15, 2023
1 parent 8d7e577 commit f945513
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion testutil/testclient/testtx/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import (
"github.com/golang/mock/gomock"
"github.com/stretchr/testify/require"

"github.com/pokt-network/poktroll/pkg/relayer"
"github.com/pokt-network/poktroll/testutil/mockclient"

"github.com/pokt-network/poktroll/pkg/client"
Expand Down Expand Up @@ -264,7 +265,8 @@ func NewAnyTimesTxTxContext(
require.NoError(t, err)
require.NotEmpty(t, txFactory)

txCtxDeps := depinject.Supply(txFactory, clientCtx)
txClientCtx := relayer.TxClientContext(clientCtx)
txCtxDeps := depinject.Supply(txFactory, txClientCtx)
txCtx, err := tx.NewTxContext(txCtxDeps)
require.NoError(t, err)
txCtxMock := mockclient.NewMockTxContext(ctrl)
Expand Down

0 comments on commit f945513

Please sign in to comment.