Upgrade rust-bitcoin to 0.31
[rust-lightning] / lightning-block-sync / src / lib.rs
index 4a01d4673b31e91d56c3cb350d995c1b7a3d7403..c54e054454876799cfa2a862f23d2a3be10a0f74 100644 (file)
@@ -439,7 +439,7 @@ mod spv_client_tests {
        use crate::test_utils::{Blockchain, NullChainListener};
        use super::*;
 
-       use bitcoin::network::constants::Network;
+       use bitcoin::network::Network;
 
        #[tokio::test]
        async fn poll_from_chain_without_headers() {
@@ -566,7 +566,7 @@ mod chain_notifier_tests {
        use crate::test_utils::{Blockchain, MockChainListener};
        use super::*;
 
-       use bitcoin::network::constants::Network;
+       use bitcoin::network::Network;
 
        #[tokio::test]
        async fn sync_from_same_chain() {