Skip to content
Snippets Groups Projects
Verified Commit 37fb2e93 authored by Michal Kucharczyk's avatar Michal Kucharczyk
Browse files

logging

parent 95c8ff28
Branches
No related merge requests found
......@@ -1487,7 +1487,12 @@ where
self.mempool.try_insert_with_replacement(xt, priority, source, watched)?;
for worst_hash in &insertion_info.removed {
log::trace!(target: LOG_TARGET, "removed: {worst_hash:?} replaced by {tx_hash:?}");
trace!(
target: LOG_TARGET,
tx_hash = ?worst_hash,
new_tx_hash = ?tx_hash,
"removed: replaced by"
);
self.view_store
.listener
.transaction_dropped(DroppedTransaction::new_enforced_by_limts(*worst_hash));
......
......@@ -261,7 +261,7 @@ where
target: LOG_TARGET,
?tx_hash,
%error,
"submit_local: err"
"submit_local failed"
);
Err(error)
},
......@@ -310,7 +310,7 @@ where
target: LOG_TARGET,
?tx_hash,
%error,
"submit_and_watch: err"
"submit_and_watch failed"
);
return Err(error);
},
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment