Skip to content

Commit f2a4e73

Browse files
committed
fix: handle faucet request result properly in create_did function
1 parent 07e43c6 commit f2a4e73

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/common/mod.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,7 @@ 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-
// 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;
99+
request_faucet_funds(address).await?;
103100

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

0 commit comments

Comments
 (0)