Skip to content

Commit

Permalink
refactor(misleading rejected tx): expired txs
Browse files Browse the repository at this point in the history
  • Loading branch information
cong-or committed Dec 7, 2023
1 parent f696b7f commit b8b01b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jormungandr/src/fragment/pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ impl Pool {
let tip = self.tip.get_ref().await;
let block_date = get_current_block_date(&tip);
let fragment_ids = self.pool.remove_expired_txs(block_date);
self.metrics.add_tx_rejected_cnt(fragment_ids.len());

self.logs.modify_all(
fragment_ids,
FragmentStatus::Rejected {
Expand Down

0 comments on commit b8b01b1

Please sign in to comment.