Skip to content

Commit

Permalink
Fix : Remove need for lock
Browse files Browse the repository at this point in the history
  • Loading branch information
OBlackmon3 committed Oct 1, 2024
1 parent 9d06958 commit 246e464
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion erpc/evm_json_rpc_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ func (c *EvmJsonRpcCache) Get(ctx context.Context, req *common.NormalizedRequest

hasTTL := c.conn.HasTTL(rpcReq.Method)

req.Mu.RLock()
blockRef, blockNumber, err := common.ExtractEvmBlockReferenceFromRequest(rpcReq)
if err != nil {
return nil, err
Expand Down

0 comments on commit 246e464

Please sign in to comment.