diff --git a/src/testutils/blockchain_tests.rs b/src/testutils/blockchain_tests.rs index d0893610..4229f5df 100644 --- a/src/testutils/blockchain_tests.rs +++ b/src/testutils/blockchain_tests.rs @@ -843,7 +843,7 @@ macro_rules! bdk_blockchain_tests { assert_eq!(wallet.get_balance().unwrap(), details.received, "incorrect received after send"); let mut builder = wallet.build_fee_bump(details.txid).unwrap(); - builder.fee_rate(FeeRate::from_sat_per_vb(5.0)); + builder.fee_rate(FeeRate::from_sat_per_vb(5.1)); let (mut new_psbt, new_details) = builder.finish().unwrap(); let finalized = wallet.sign(&mut new_psbt, Default::default()).unwrap(); assert!(finalized, "Cannot finalize transaction"); diff --git a/src/wallet/utils.rs b/src/wallet/utils.rs index 50163dce..e9475232 100644 --- a/src/wallet/utils.rs +++ b/src/wallet/utils.rs @@ -28,8 +28,7 @@ pub(crate) const BLOCKS_TIMELOCK_THRESHOLD: u32 = 500000000; /// Trait to check if a value is below the dust limit // we implement this trait to make sure we don't mess up the comparison with off-by-one like a < -// instead of a <= etc. The constant value for the dust limit is not public on purpose, to -// encourage the usage of this trait. +// instead of a <= etc. pub trait IsDust { /// Check whether or not a value is below dust limit fn is_dust(&self, script: &Script) -> bool;