Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
mihailjianu1 committed Jan 22, 2025
1 parent ed1f122 commit 104b4cb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion rs/pocket_ic_server/tests/bitcoin_integration_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,12 @@ rpcauth=ic-btc-integration:cdf2741387f3a12438f69092f0fdad8e$62081498c98bee09a0dc
// retry generating blocks until the bitcoind is up and running
let start = std::time::Instant::now();
loop {
match btc_rpc.generate_to_address(n, &Address::from_str(&bitcoin_address).unwrap().assume_checked()) {
match btc_rpc.generate_to_address(
n,
&Address::from_str(&bitcoin_address)
.unwrap()
.assume_checked(),
) {
Ok(_) => break,
Err(bitcoincore_rpc::Error::JsonRpc(err)) => {
if start.elapsed() > std::time::Duration::from_secs(30) {
Expand Down

0 comments on commit 104b4cb

Please sign in to comment.