Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zkokelj committed Jul 3, 2024
1 parent d7a66ff commit 35c4649
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tools/walletextension/rpcapi/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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...)

Expand Down

0 comments on commit 35c4649

Please sign in to comment.