Skip to content

Commit

Permalink
fix: handle request_faucet_funds result without error propagation
Browse files Browse the repository at this point in the history
  • Loading branch information
itsyaasir committed Dec 10, 2024
1 parent 3d43c65 commit 07e43c6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,10 @@ pub async fn create_did(
let (address, key_id, pub_key_jwk) = get_address(storage).await.context("failed to get address with funds")?;

// Fund the account
request_faucet_funds(address).await?;
// WORKAROUND: Ignore the resullts of the faucet request as sometime the
// request will fail but the funds will be
// available.
let _ = request_faucet_funds(address).await;

let signer = StorageSigner::new(storage, key_id.clone(), pub_key_jwk);

Expand Down

0 comments on commit 07e43c6

Please sign in to comment.