Skip to content

Commit

Permalink
Changed name of create and verify presentation functions to be consis…
Browse files Browse the repository at this point in the history
…tent with the design

Signed-off-by: artem.ivanov <[email protected]>
  • Loading branch information
Artemkaaas committed Dec 6, 2023
1 parent b825666 commit 8267bc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ffi/w3c/presentation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ impl_anoncreds_object_from_json!(W3CPresentation, anoncreds_w3c_presentation_fro
/// # Returns
/// Error code
#[no_mangle]
pub extern "C" fn anoncreds_w3c_create_presentation(
pub extern "C" fn anoncreds_create_w3c_presentation(
pres_req: ObjectHandle,
credentials: FfiList<FfiCredentialEntry>,
credentials_prove: FfiList<FfiCredentialProve>,
Expand Down Expand Up @@ -83,7 +83,7 @@ pub extern "C" fn anoncreds_w3c_create_presentation(
/// # Returns
/// Error code
#[no_mangle]
pub extern "C" fn anoncreds_w3c_verify_presentation(
pub extern "C" fn anoncreds_verify_w3c_presentation(
presentation: ObjectHandle,
pres_req: ObjectHandle,
schemas: FfiList<ObjectHandle>,
Expand Down

0 comments on commit 8267bc9

Please sign in to comment.