Skip to content

Commit 764a3df

Browse files
committed
Accommodate issuer_id being taken from rev_reg_def
Signed-off-by: Bogdan Mircea <[email protected]>
1 parent d9936b9 commit 764a3df

File tree

4 files changed

+142
-97
lines changed

4 files changed

+142
-97
lines changed

src/ffi/cred_def.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pub extern "C" fn anoncreds_create_credential_definition(
4444
.as_opt_str()
4545
.ok_or_else(|| err_msg!("Missing issuer id"))?
4646
.try_into()?;
47-
47+
4848
let (cred_def, cred_def_pvt, key_proof) = create_credential_definition(
4949
schema_id,
5050
schema.load()?.cast_ref()?,

src/ffi/revocation.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ pub extern "C" fn anoncreds_update_revocation_status_list_timestamp_only(
132132
pub extern "C" fn anoncreds_create_revocation_registry_def(
133133
cred_def: ObjectHandle,
134134
cred_def_id: FfiStr,
135+
_issuer_id: FfiStr, // leaving it here not to break existing code
135136
tag: FfiStr,
136137
rev_reg_type: FfiStr,
137138
max_cred_num: i64,

0 commit comments

Comments
 (0)