Skip to content

Commit 07e43c6

Browse files
committed
fix: handle request_faucet_funds result without error propagation
1 parent 3d43c65 commit 07e43c6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/common/mod.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,10 @@ pub async fn create_did(
9696
let (address, key_id, pub_key_jwk) = get_address(storage).await.context("failed to get address with funds")?;
9797

9898
// Fund the account
99-
request_faucet_funds(address).await?;
99+
// WORKAROUND: Ignore the resullts of the faucet request as sometime the
100+
// request will fail but the funds will be
101+
// available.
102+
let _ = request_faucet_funds(address).await;
100103

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

0 commit comments

Comments
 (0)