From d89a48c4fdb96bb2e5aba87fd55273a286287c47 Mon Sep 17 00:00:00 2001 From: blu3beri Date: Fri, 13 Jan 2023 13:01:13 +0100 Subject: [PATCH] ran formatter Signed-off-by: blu3beri --- anoncreds/tests/anoncreds_demos.rs | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/anoncreds/tests/anoncreds_demos.rs b/anoncreds/tests/anoncreds_demos.rs index e1fe72ff..0e65d30c 100644 --- a/anoncreds/tests/anoncreds_demos.rs +++ b/anoncreds/tests/anoncreds_demos.rs @@ -4,7 +4,7 @@ use std::{ }; use anoncreds::{ - data_types::anoncreds::{ + data_types::anoncreds::{ cred_def::{CredentialDefinition, CredentialDefinitionId}, presentation::Presentation, rev_reg::RevocationRegistryId, @@ -483,8 +483,13 @@ fn anoncreds_with_revocation_works_for_single_issuer_single_prover() { let ursa_rev_reg = revoked_rev_reg.clone().value; - let revocation_list = - RevocationStatusList::new(Some(REV_REG_ID), list, Some(ursa_rev_reg), Some(prover_timestamp)).unwrap(); + let revocation_list = RevocationStatusList::new( + Some(REV_REG_ID), + list, + Some(ursa_rev_reg), + Some(prover_timestamp), + ) + .unwrap(); let new_rev_state = prover::create_or_update_revocation_state( tr, &rev_reg_def_pub,