From 6c3f9ea816dacbaa5d6bd2460e99b31a20d2decf Mon Sep 17 00:00:00 2001 From: Patrik Stas Date: Tue, 2 May 2023 17:08:21 +0200 Subject: [PATCH] Fix formatting Signed-off-by: Patrik Stas --- aries_vcx/src/utils/author_agreement.rs | 7 ++++--- aries_vcx_core/src/utils/author_agreement.rs | 5 ++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/aries_vcx/src/utils/author_agreement.rs b/aries_vcx/src/utils/author_agreement.rs index baa445716f..64dbbb98a8 100644 --- a/aries_vcx/src/utils/author_agreement.rs +++ b/aries_vcx/src/utils/author_agreement.rs @@ -1,5 +1,7 @@ +use aries_vcx_core::utils::author_agreement::{ + get_global_txn_author_agreement, set_global_txn_author_agreement, TxnAuthorAgreementAcceptanceData, +}; use serde_json; -use aries_vcx_core::utils::author_agreement::{get_global_txn_author_agreement, set_global_txn_author_agreement, TxnAuthorAgreementAcceptanceData}; use crate::errors::error::{AriesVcxError, AriesVcxErrorKind, VcxResult}; use crate::global::settings; @@ -16,6 +18,5 @@ pub fn set_txn_author_agreement( } pub fn get_txn_author_agreement() -> VcxResult> { - get_global_txn_author_agreement() - .map_err(|err| err.into()) + get_global_txn_author_agreement().map_err(|err| err.into()) } diff --git a/aries_vcx_core/src/utils/author_agreement.rs b/aries_vcx_core/src/utils/author_agreement.rs index 2e6a9e5ed0..3fcb88e4d7 100644 --- a/aries_vcx_core/src/utils/author_agreement.rs +++ b/aries_vcx_core/src/utils/author_agreement.rs @@ -52,7 +52,6 @@ pub fn get_global_txn_author_agreement() -> VcxCoreResult