Skip to content

Commit 407e957

Browse files
committed
f Address test TODO
1 parent a1759d7 commit 407e957

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/tests/functional_tests.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,9 @@ fn channel_full_cycle() {
142142
let node_b_addr =
143143
format!("{}@{}", node_b.node_id().unwrap(), node_b.listening_address().unwrap());
144144
node_a.connect_open_channel(&node_b_addr, 50000, true).unwrap();
145-
// TODO: why are those needed?
146-
node_a.sync_wallets().unwrap();
147-
node_b.sync_wallets().unwrap();
145+
146+
// Wait a sec so the funding tx can 'propagate' via EsploraD to BitcoinD.
147+
std::thread::sleep(Duration::from_secs(1));
148148

149149
println!("\n .. generating blocks, syncing wallets .. ");
150150
generate_blocks_and_wait(6);

0 commit comments

Comments
 (0)