From b68aec5eba90932002c83df592b7843629ab5f35 Mon Sep 17 00:00:00 2001 From: owen Date: Tue, 25 Aug 2026 16:38:43 +0100 Subject: [PATCH] Fix needless-borrow clippy lint in header_stream.rs cargo clippy --all-features --no-deps -- -D warnings currently fails on a clean develop checkout because of this. config is already a reference, so &config double-borrows. --- crates/relay/src/api/proposer/header_stream.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/relay/src/api/proposer/header_stream.rs b/crates/relay/src/api/proposer/header_stream.rs index 32ab3a6a..ce753336 100644 --- a/crates/relay/src/api/proposer/header_stream.rs +++ b/crates/relay/src/api/proposer/header_stream.rs @@ -64,7 +64,7 @@ impl ProposerApi { proposer_api .api_provider - .admit_header_stream(¶ms, &headers, &preferences, &config) + .admit_header_stream(¶ms, &headers, &preferences, config) .map_err(|reason| { warn!(slot = params.slot, proposer = %params.pubkey, reason, "refusing header stream"); ProposerApiError::StreamNotAdmitted