Skip to content

Commit c9cbd23

Browse files
committed
fix: Undo _e => e variable rename
1 parent 82313d3 commit c9cbd23

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

stackslib/src/burnchains/bitcoin/indexer.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -264,21 +264,21 @@ impl BitcoinIndexer {
264264
match net::TcpStream::connect((self.config.peer_host.as_str(), self.config.peer_port)) {
265265
Ok(s) => {
266266
// Disable Nagle algorithm
267-
s.set_nodelay(true).map_err(|e| {
268-
test_debug!("Failed to set TCP_NODELAY: {e:?}");
267+
s.set_nodelay(true).map_err(|_e| {
268+
test_debug!("Failed to set TCP_NODELAY: {_e:?}");
269269
btc_error::ConnectionError
270270
})?;
271271

272272
// set timeout
273273
s.set_read_timeout(Some(Duration::from_secs(self.runtime.timeout)))
274-
.map_err(|e| {
275-
test_debug!("Failed to set TCP read timeout: {e:?}");
274+
.map_err(|_e| {
275+
test_debug!("Failed to set TCP read timeout: {_e:?}");
276276
btc_error::ConnectionError
277277
})?;
278278

279279
s.set_write_timeout(Some(Duration::from_secs(self.runtime.timeout)))
280-
.map_err(|e| {
281-
test_debug!("Failed to set TCP write timeout: {e:?}");
280+
.map_err(|_e| {
281+
test_debug!("Failed to set TCP write timeout: {_e:?}");
282282
btc_error::ConnectionError
283283
})?;
284284

0 commit comments

Comments
 (0)