From 35c4649643a991fdcdce0a54ef6b072810073d78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=BDiga=20Kokelj?= Date: Wed, 3 Jul 2024 13:56:07 +0200 Subject: [PATCH] fix --- tools/walletextension/rpcapi/utils.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tools/walletextension/rpcapi/utils.go b/tools/walletextension/rpcapi/utils.go index 9e4aeb9fe7..602e372927 100644 --- a/tools/walletextension/rpcapi/utils.go +++ b/tools/walletextension/rpcapi/utils.go @@ -105,11 +105,6 @@ func ExecAuthRPC[R any](ctx context.Context, w *Services, cfg *ExecCfg, method s return nil, fmt.Errorf("rate limit exceeded") } - user, err := getUser(userID, w) - if err != nil { - return nil, err - } - cacheArgs := []any{userID, method} cacheArgs = append(cacheArgs, args...)