We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a713ac commit b6d894eCopy full SHA for b6d894e
lightning/src/ln/functional_tests.rs
@@ -51,8 +51,6 @@ use bitcoin::transaction::Version;
51
use bitcoin::secp256k1::Secp256k1;
52
use bitcoin::secp256k1::{PublicKey,SecretKey};
53
54
-use std::collections::HashMap;
55
-
56
use crate::io;
57
use crate::prelude::*;
58
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
($penalty_txids:ident, $fee_rates:ident) => {
7446
- let mut $penalty_txids = HashMap::new();
7447
- let mut $fee_rates = HashMap::new();
+ let mut $penalty_txids = new_hash_map();
+ let mut $fee_rates = new_hash_map();
7448
{
7449
let mut node_txn = nodes[1].tx_broadcaster.txn_broadcasted.lock().unwrap();
7450
// 2 justice txs can be broadcasted from ChannelMonitor:
0 commit comments