Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Bhavy Airi committed May 21, 2023
1 parent 98e26c5 commit c4fd1a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aries_vcx_core/src/anoncreds/credx_anoncreds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ impl BaseAnonCreds for IndyCredxAnonCreds {
let credential_id = cred_id.map_or(Uuid::new_v4().to_string(), String::from);

let record_value = serde_json::to_string(&credential)?;
let tags_json: HashMap<String, String> = serde_json::to_string(&credential)?;
let tags_json: HashMap<String, String> = serde_json::from_str(&record_value)?;

self.wallet
.add_wallet_record(CATEGORY_CREDENTIAL, &credential_id, &record_value, Some(tags_json))
Expand Down

0 comments on commit c4fd1a7

Please sign in to comment.