Skip to content

Commit

Permalink
f Just unwrap
Browse files Browse the repository at this point in the history
  • Loading branch information
tnull committed Nov 8, 2023
1 parent e95d29b commit ce31cf2
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions lightning-transaction-sync/tests/integration_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -421,13 +421,7 @@ fn test_electrum_syncs() {
generate_blocks_and_wait(&bitcoind, &electrsd, 101);
let mut logger = TestLogger::new();
let electrum_url = format!("tcp://{}", electrsd.electrum_url);
let tx_sync = match ElectrumSyncClient::new(electrum_url, &mut logger) {
Ok(tx_sync) => tx_sync,
Err(e) => {
eprintln!("{:?}", e);
panic!("{:?}", e);
}
};
let tx_sync = ElectrumSyncClient::new(electrum_url, &mut logger).unwrap();
let confirmable = TestConfirmable::new();

// Check we pick up on new best blocks
Expand Down

0 comments on commit ce31cf2

Please sign in to comment.