diff --git a/api/rpc_test.go b/api/rpc_test.go index 8a0053d22a..eccd84148e 100644 --- a/api/rpc_test.go +++ b/api/rpc_test.go @@ -295,7 +295,8 @@ func implementsMarshaler(t *testing.T, typ reflect.Type) { // setupNodeWithAuthedRPC sets up a node and overrides its JWT // signer with the given signer. func setupNodeWithAuthedRPC(t *testing.T, - jwtSigner jwt.Signer, jwtVerifier jwt.Verifier) (*nodebuilder.Node, *mockAPI) { + jwtSigner jwt.Signer, jwtVerifier jwt.Verifier, +) (*nodebuilder.Node, *mockAPI) { ctx, cancel := context.WithCancel(context.Background()) t.Cleanup(cancel)