From: Antoine Riard Date: Sat, 26 Oct 2019 00:20:41 +0000 (-0400) Subject: Remove useless test framework warnings X-Git-Tag: v0.0.12~186^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?p=rust-lightning;a=commitdiff_plain;h=230b0e1fb6de26639a831b2b17a7a7d0e49facf8 Remove useless test framework warnings --- diff --git a/src/ln/functional_tests.rs b/src/ln/functional_tests.rs index e37b63cc..044c1673 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 };