Skip to content

Commit

Permalink
fix CI issues
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonberg1997 committed Jul 9, 2024
1 parent 8bd691b commit 543e7de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/bsc/evm/src/patch_hertz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use crate::execute::BscEvmExecutor;
use lazy_static::lazy_static;
use reth_errors::ProviderError;
use reth_evm::ConfigureEvm;
use reth_primitives::{address, b256, Address, Header, TransactionSigned, B256, U256};
use reth_primitives::{address, b256, Address, TransactionSigned, B256, U256};
use reth_revm::{db::states::StorageSlot, State};
use revm_primitives::db::Database;
use std::{collections::HashMap, str::FromStr};
Expand Down
3 changes: 1 addition & 2 deletions crates/net/eth-wire/src/p2pstream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -478,11 +478,10 @@ where
//
// It's possible we already tried to RLP decode this, but it was snappy
// compressed, so we need to RLP decode it again.
let reason = DisconnectReason::decode(&mut &decompress_buf[1..]).map_err(|err| {
let reason = DisconnectReason::decode(&mut &decompress_buf[1..]).inspect_err(|&err| {
debug!(
%err, msg=%hex::encode(&decompress_buf[1..]), "Failed to decode disconnect message from peer"
);
err
})?;
return Poll::Ready(Some(Err(P2PStreamError::Disconnected(reason))))
}
Expand Down

0 comments on commit 543e7de

Please sign in to comment.