Calculate only confirmed priority ops
@@ -119,6 +119,7 @@ impl MempoolTransactionsHandler {
TxAddError::DbError
})?;
+ if confirmed {
for op in &ops {
let labels = vec![
("stage", "mempool".to_string()),
@@ -127,6 +128,7 @@ impl MempoolTransactionsHandler {
];
metrics::increment_counter!("process_tx_count", &labels);
}
+ }
Ok(())
}
