Skip to content

Commit b5514fb

Browse files
author
blu3beri
committed
updated anoncreds_demos
Signed-off-by: blu3beri <[email protected]>
1 parent fc4508e commit b5514fb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

anoncreds/tests/anoncreds_demos.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ use self::utils::anoncreds::{IssuerWallet, ProverWallet};
1313

1414
mod utils;
1515

16-
pub static GVT_SCHEMA_NAME: &'static str = "gvt";
17-
pub static GVT_SCHEMA_ATTRIBUTES: &[&'static str; 4] = &["name", "age", "sex", "height"];
1816
pub static SCHEMA_ID: &str = "mock:uri";
1917
pub static CRED_DEF_ID: &str = "mock:uri";
18+
pub const GVT_SCHEMA_NAME: &str = "gvt";
19+
pub const GVT_SCHEMA_ATTRIBUTES: &[&str; 4] = &["name", "age", "sex", "height"];
2020

2121
#[test]
2222
fn anoncreds_works_for_single_issuer_single_prover() {
@@ -31,7 +31,6 @@ fn anoncreds_works_for_single_issuer_single_prover() {
3131
GVT_SCHEMA_NAME,
3232
"1.0",
3333
GVT_SCHEMA_ATTRIBUTES[..].into(),
34-
None,
3534
)
3635
.expect("Error creating gvt schema for issuer");
3736

0 commit comments

Comments
 (0)