Skip to content

Commit

Permalink
set peer name to "local-requset" for local requests
Browse files Browse the repository at this point in the history
  • Loading branch information
dvush committed Nov 12, 2024
1 parent e9dfd34 commit 77022ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions proxy/receiver_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ func (prx *ReceiverProxy) LocalJSONRPCHandler(maxRequestBodySizeBytes int64) (*r
func (prx *ReceiverProxy) ValidateSigner(ctx context.Context, req *ParsedRequest, publicEndpoint bool) error {
req.signer = rpcserver.GetSigner(ctx)
if !publicEndpoint {
req.peerName = "local-request"
return nil
}

Expand Down

0 comments on commit 77022ce

Please sign in to comment.