Merge pull request #2926 from tnull/2024-03-derive-eq-for-offer-refund
[rust-lightning] / lightning / src / events / bump_transaction.rs
index cb011b79a36d2f02ca20beb469f0ba5cd49c136c..44f44dd31fc7d488bc420417e26c2c16236c2d72 100644 (file)
@@ -400,7 +400,7 @@ where
        /// Returns a new instance backed by the given [`WalletSource`] that serves as an implementation
        /// of [`CoinSelectionSource`].
        pub fn new(source: W, logger: L) -> Self {
-               Self { source, logger, locked_utxos: Mutex::new(HashMap::new()) }
+               Self { source, logger, locked_utxos: Mutex::new(new_hash_map()) }
        }
 
        /// Performs coin selection on the set of UTXOs obtained from