Skip to content

Commit b28b07d

Browse files
committed
Fix race-y test case
1 parent e648fe7 commit b28b07d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

orange-sdk/tests/integration_tests.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -563,6 +563,8 @@ async fn test_receive_to_onchain_with_channel() {
563563
ev => panic!("Expected ChannelOpened event, got {ev:?}"),
564564
}
565565

566+
wallet.sync_ln_wallet().unwrap();
567+
566568
let txs = wallet.list_transactions().await.unwrap();
567569
assert_eq!(txs.len(), 2);
568570
let tx = txs.into_iter().last().unwrap();

0 commit comments

Comments
 (0)