File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
stackslib/src/burnchains/bitcoin Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -264,21 +264,21 @@ impl BitcoinIndexer {
264
264
match net:: TcpStream :: connect ( ( self . config . peer_host . as_str ( ) , self . config . peer_port ) ) {
265
265
Ok ( s) => {
266
266
// 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 :?}" ) ;
269
269
btc_error:: ConnectionError
270
270
} ) ?;
271
271
272
272
// set timeout
273
273
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 :?}" ) ;
276
276
btc_error:: ConnectionError
277
277
} ) ?;
278
278
279
279
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 :?}" ) ;
282
282
btc_error:: ConnectionError
283
283
} ) ?;
284
284
You can’t perform that action at this time.
0 commit comments