Merge pull request #3126 from TheBlueMatt/2024-06-preimage-removal-blocked-by-claim...
[rust-lightning] / lightning / src / util / scid_utils.rs
index c9485b60b70be78fd88b52eb45703c74f4da5af1..ce789ef9fdc6fd7eb2b23f04f7c66ff379238ac5 100644 (file)
@@ -72,7 +72,7 @@ pub fn scid_from_parts(block: u64, tx_index: u64, vout_index: u64) -> Result<u64
 ///    the forwarding node can open a JIT channel to the next hop)
 pub(crate) mod fake_scid {
        use bitcoin::blockdata::constants::ChainHash;
-       use bitcoin::network::constants::Network;
+       use bitcoin::Network;
        use crate::sign::EntropySource;
        use crate::crypto::chacha20::ChaCha20;
        use crate::util::scid_utils;
@@ -183,7 +183,7 @@ pub(crate) mod fake_scid {
        #[cfg(test)]
        mod tests {
                use bitcoin::blockdata::constants::ChainHash;
-               use bitcoin::network::constants::Network;
+               use bitcoin::network::Network;
                use crate::util::scid_utils::fake_scid::{is_valid_intercept, is_valid_phantom, MAINNET_SEGWIT_ACTIVATION_HEIGHT, MAX_TX_INDEX, MAX_NAMESPACES, Namespace, NAMESPACE_ID_BITMASK, segwit_activation_height, TEST_SEGWIT_ACTIVATION_HEIGHT};
                use crate::util::scid_utils;
                use crate::util::test_utils;