Skip to content

Commit af1e12f

Browse files
authored
chore(txpool): feature gate test (#20082)
1 parent 8fd86ba commit af1e12f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/transaction-pool/src/pool/pending.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -983,6 +983,7 @@ mod tests {
983983
}
984984

985985
#[test]
986+
#[cfg(debug_assertions)]
986987
#[should_panic(expected = "transaction already included")]
987988
fn test_handle_duplicates() {
988989
let mut f = MockTransactionFactory::default();

0 commit comments

Comments
 (0)