From c9cbd23dea29d065d1a05cc542a90f093af851bb Mon Sep 17 00:00:00 2001 From: Jeff Bencin Date: Fri, 24 Jan 2025 20:45:44 -0500 Subject: [PATCH] fix: Undo `_e` => `e` variable rename --- stackslib/src/burnchains/bitcoin/indexer.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/stackslib/src/burnchains/bitcoin/indexer.rs b/stackslib/src/burnchains/bitcoin/indexer.rs index 899c96390c..69ba63c240 100644 --- a/stackslib/src/burnchains/bitcoin/indexer.rs +++ b/stackslib/src/burnchains/bitcoin/indexer.rs @@ -264,21 +264,21 @@ impl BitcoinIndexer { match net::TcpStream::connect((self.config.peer_host.as_str(), self.config.peer_port)) { Ok(s) => { // Disable Nagle algorithm - s.set_nodelay(true).map_err(|e| { - test_debug!("Failed to set TCP_NODELAY: {e:?}"); + s.set_nodelay(true).map_err(|_e| { + test_debug!("Failed to set TCP_NODELAY: {_e:?}"); btc_error::ConnectionError })?; // set timeout s.set_read_timeout(Some(Duration::from_secs(self.runtime.timeout))) - .map_err(|e| { - test_debug!("Failed to set TCP read timeout: {e:?}"); + .map_err(|_e| { + test_debug!("Failed to set TCP read timeout: {_e:?}"); btc_error::ConnectionError })?; s.set_write_timeout(Some(Duration::from_secs(self.runtime.timeout))) - .map_err(|e| { - test_debug!("Failed to set TCP write timeout: {e:?}"); + .map_err(|_e| { + test_debug!("Failed to set TCP write timeout: {_e:?}"); btc_error::ConnectionError })?;