mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: include hash in trace (#11762)
This commit is contained in:
@ -40,7 +40,7 @@ where
|
|||||||
// On optimism, transactions are forwarded directly to the sequencer to be included in
|
// On optimism, transactions are forwarded directly to the sequencer to be included in
|
||||||
// blocks that it builds.
|
// blocks that it builds.
|
||||||
if let Some(client) = self.raw_tx_forwarder().as_ref() {
|
if let Some(client) = self.raw_tx_forwarder().as_ref() {
|
||||||
tracing::debug!( target: "rpc::eth", "forwarding raw transaction to");
|
tracing::debug!(target: "rpc::eth", hash = %pool_transaction.hash(), "forwarding raw transaction to sequencer");
|
||||||
let _ = client.forward_raw_transaction(&tx).await.inspect_err(|err| {
|
let _ = client.forward_raw_transaction(&tx).await.inspect_err(|err| {
|
||||||
tracing::debug!(target: "rpc::eth", %err, hash=% *pool_transaction.hash(), "failed to forward raw transaction");
|
tracing::debug!(target: "rpc::eth", %err, hash=% *pool_transaction.hash(), "failed to forward raw transaction");
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user