projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix some (non-bug) lock-order-inversions in tests
[rust-lightning]
/
lightning
/
src
/
ln
/
shutdown_tests.rs
diff --git
a/lightning/src/ln/shutdown_tests.rs
b/lightning/src/ln/shutdown_tests.rs
index b712212ab75a7208431949765324a63b8e7b32a7..7afc982faabd3b8975646ea8f669172887974340 100644
(file)
--- a/
lightning/src/ln/shutdown_tests.rs
+++ b/
lightning/src/ln/shutdown_tests.rs
@@
-778,7
+778,7
@@
fn do_test_closing_signed_reinit_timeout(timeout_step: TimeoutStep) {
nodes[1].node.timer_tick_occurred();
nodes[1].node.timer_tick_occurred();
nodes[1].node.timer_tick_occurred();
nodes[1].node.timer_tick_occurred();
- let txn = nodes[1].tx_broadcaster.txn_broadcasted.lock().unwrap();
+ let txn = nodes[1].tx_broadcaster.txn_broadcasted.lock().unwrap()
.clone()
;
assert_eq!(txn.len(), 1);
assert_eq!(txn[0].output.len(), 2);
assert_eq!(txn.len(), 1);
assert_eq!(txn[0].output.len(), 2);