Skip to content

Commit

Permalink
adjust WAIT_FOR consts
Browse files Browse the repository at this point in the history
  • Loading branch information
d-roak committed Oct 19, 2023
1 parent 9f5473f commit 3208b90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ impl fmt::Display for SysInfo {
}
}

const WAIT_FOR_TX_TIMEOUT: Duration = Duration::from_secs(30);
const WAIT_FOR_TX_SLEEP: Duration = Duration::from_secs(2);
const WAIT_FOR_TX_TIMEOUT: Duration = Duration::from_secs(10);
const WAIT_FOR_TX_SLEEP: Duration = Duration::from_millis(100);

pub async fn wait_for_tx(
provider: &JsonRpcClient<HttpTransport>,
Expand Down

0 comments on commit 3208b90

Please sign in to comment.