From 230b0e1fb6de26639a831b2b17a7a7d0e49facf8 Mon Sep 17 00:00:00 2001 From: Antoine Riard Date: Fri, 25 Oct 2019 20:20:41 -0400 Subject: [PATCH] Remove useless test framework warnings --- src/ln/functional_tests.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ln/functional_tests.rs b/src/ln/functional_tests.rs index e37b63cc1..044c16730 100644 --- a/src/ln/functional_tests.rs +++ b/src/ln/functional_tests.rs @@ -1246,7 +1246,6 @@ fn duplicate_htlc_test() { } fn do_channel_reserve_test(test_recv: bool) { - use std::sync::atomic::Ordering; use ln::msgs::HandleError; let mut nodes = create_network(3, &[None, None, None]); @@ -4518,7 +4517,6 @@ fn run_onion_failure_test_with_fail_intercept(_name: &str, test_case: F2: for <'a> FnMut(&'a mut msgs::UpdateFailHTLC), F3: FnMut(), { - use ln::msgs::HTLCFailChannelUpdate; // reset block height let header = BlockHeader { version: 0x20000000, prev_blockhash: Default::default(), merkle_root: Default::default(), time: 42, bits: 42, nonce: 42 }; -- 2.39.5