Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
Twey committed Feb 10, 2025
1 parent eaf683f commit 8c4926f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
7 changes: 3 additions & 4 deletions linera-faucet/client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,12 @@ fn truncate_query_output(input: &str) -> String {
fn reqwest_client() -> reqwest::Client {
let mut builder = reqwest::ClientBuilder::new();

#[cfg(not(target_arch = "wasm32"))] {
#[cfg(not(target_arch = "wasm32"))]
{
builder = builder.timeout(std::time::Duration::from_secs(30));
}

builder
.build()
.unwrap()
builder.build().unwrap()
}

/// A faucet instance that can be queried.
Expand Down
1 change: 0 additions & 1 deletion linera-service/src/cli_wrappers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ mod wallet;

use anyhow::Result;
use async_trait::async_trait;
use linera_execution::ResourceControlPolicy;
pub use linera_faucet_client::Faucet;
pub use wallet::{
ApplicationWrapper, ClientWrapper, FaucetOption, FaucetService, NodeService, OnClientDrop,
Expand Down

0 comments on commit 8c4926f

Please sign in to comment.