@@ -17,6 +17,7 @@ use crate::chain::chaininterface::LowerBoundedFeeEstimator;
1717use crate::chain::channelmonitor;
1818use crate::chain::channelmonitor::{CLOSED_CHANNEL_UPDATE_ID, CLTV_CLAIM_BUFFER, LATENCY_GRACE_PERIOD_BLOCKS, ANTI_REORG_DELAY};
1919use crate::chain::transaction::OutPoint;
20+ use crate::chain::package::{LOW_FREQUENCY_BUMP_INTERVAL, MIDDLE_FREQUENCY_BUMP_INTERVAL};
2021use crate::sign::{ecdsa::EcdsaChannelSigner, EntropySource, OutputSpender, SignerProvider};
2122use crate::events::{Event, FundingInfo, MessageSendEvent, MessageSendEventsProvider, PathFailure, PaymentPurpose, ClosureReason, HTLCDestination, PaymentFailureReason};
2223use crate::ln::types::{ChannelId, PaymentPreimage, PaymentSecret, PaymentHash};
@@ -7526,7 +7527,7 @@ fn test_bump_penalty_txn_on_revoked_commitment() {
75267527 };
75277528
75287529 // After exhaustion of height timer, a new bumped justice tx should have been broadcast, check it
7529- connect_blocks(&nodes[1], 15 );
7530+ connect_blocks(&nodes[1], LOW_FREQUENCY_BUMP_INTERVAL );
75307531 let mut penalty_2 = penalty_1;
75317532 let mut feerate_2 = 0;
75327533 {
@@ -7549,7 +7550,7 @@ fn test_bump_penalty_txn_on_revoked_commitment() {
75497550 assert_ne!(feerate_2, 0);
75507551
75517552 // After exhaustion of height timer for a 2nd time, a new bumped justice tx should have been broadcast, check it
7552- connect_blocks(&nodes[1], 1 );
7553+ connect_blocks(&nodes[1], MIDDLE_FREQUENCY_BUMP_INTERVAL );
75537554 let penalty_3;
75547555 let mut feerate_3 = 0;
75557556 {
0 commit comments