File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -51,8 +51,6 @@ use bitcoin::transaction::Version;
51
51
use bitcoin::secp256k1::Secp256k1;
52
52
use bitcoin::secp256k1::{PublicKey,SecretKey};
53
53
54
- use std::collections::HashMap;
55
-
56
54
use crate::io;
57
55
use crate::prelude::*;
58
56
use alloc::collections::BTreeSet;
@@ -7443,8 +7441,8 @@ fn test_bump_penalty_txn_on_revoked_commitment() {
7443
7441
7444
7442
macro_rules! check_broadcasted_txn {
7445
7443
($penalty_txids:ident, $fee_rates:ident) => {
7446
- let mut $penalty_txids = HashMap::new ();
7447
- let mut $fee_rates = HashMap::new ();
7444
+ let mut $penalty_txids = new_hash_map ();
7445
+ let mut $fee_rates = new_hash_map ();
7448
7446
{
7449
7447
let mut node_txn = nodes[1].tx_broadcaster.txn_broadcasted.lock().unwrap();
7450
7448
// 2 justice txs can be broadcasted from ChannelMonitor:
You can’t perform that action at this time.
0 commit comments