Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions backrun/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -637,11 +637,9 @@ fn main() -> Result<()> {
start_searcher_loop(runtime, searcher_client_auth, &payer_keypair, args)
}
None => {
let searcher_client_no_auth = runtime.block_on(
get_searcher_client_no_auth(
args.block_engine_url.as_str(),
))
.expect("Failed to get searcher client with auth. Note: If you don't pass in the auth keypair, we can attempt to connect to the no auth endpoint");
let searcher_client_no_auth = runtime
.block_on(get_searcher_client_no_auth(args.block_engine_url.as_str()))
.expect("Failed to get searcher client with no auth.");
start_searcher_loop(runtime, searcher_client_no_auth, &payer_keypair, args)
}
}
Expand Down
7 changes: 3 additions & 4 deletions cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,9 @@ async fn main() {
}
None => {
let searcher_client_no_auth =
get_searcher_client_no_auth(
args.block_engine_url.as_str(),
).await
.expect("Failed to get searcher client with auth. Note: If you don't pass in the auth keypair, we can attempt to connect to the no auth endpoint");
get_searcher_client_no_auth(args.block_engine_url.as_str())
.await
.expect("Failed to get searcher client with no auth.");
process_commands(args, searcher_client_no_auth).await
}
}
Expand Down