From 12398d6804bc58546c5a2338edc314454148140a Mon Sep 17 00:00:00 2001 From: Oleg Kovalov Date: Fri, 7 Jun 2024 14:20:12 +0200 Subject: [PATCH] fix --- api/rpc_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)