From 708ebebd8e1a846c60d1c4f3d6695ccc52a994a0 Mon Sep 17 00:00:00 2001 From: Iris Date: Fri, 17 May 2024 11:25:47 +0200 Subject: [PATCH] fix: unnecessary type casting of length in get_extended_verifier_data --- src/identity/main.cairo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/identity/main.cairo b/src/identity/main.cairo index dad3de6..9eb0517 100644 --- a/src/identity/main.cairo +++ b/src/identity/main.cairo @@ -186,7 +186,7 @@ mod Identity { ) -> Span { self .get_extended( - USER_DATA_ADDR, array![id.into(), field].span(), length.into(), domain, + USER_DATA_ADDR, array![id.into(), field].span(), length, domain, ) } @@ -216,7 +216,7 @@ mod Identity { .get_extended( VERIFIER_DATA_ADDR, array![id.into(), field, verifier.into()].span(), - length.into(), + length, domain, ) }