projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39b562e
)
Remove useless test framework warnings
author
Antoine Riard
<ariard@student.42.fr>
Sat, 26 Oct 2019 00:20:41 +0000
(20:20 -0400)
committer
Antoine Riard
<ariard@student.42.fr>
Sat, 26 Oct 2019 00:20:41 +0000
(20:20 -0400)
src/ln/functional_tests.rs
patch
|
blob
|
history
diff --git
a/src/ln/functional_tests.rs
b/src/ln/functional_tests.rs
index e37b63cc19f53a89dd310dba3687d96912fb4037..044c1673011dd66d81112fe7c673a9aaf19287a0 100644
(file)
--- 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<F1,F2,F3>(_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 };