Skip to content

Commit

Permalink
Merge pull request #13 from starknet-id/fix/unnecessary_type_casting
Browse files Browse the repository at this point in the history
fix: unnecessary type casting of length in get_extended_verifier_data
  • Loading branch information
Th0rgal authored May 28, 2024
2 parents c8734d2 + 708ebeb commit 4685fa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/identity/main.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ mod Identity {
) -> Span<felt252> {
self
.get_extended(
USER_DATA_ADDR, array![id.into(), field].span(), length.into(), domain,
USER_DATA_ADDR, array![id.into(), field].span(), length, domain,
)
}

Expand Down Expand Up @@ -216,7 +216,7 @@ mod Identity {
.get_extended(
VERIFIER_DATA_ADDR,
array![id.into(), field, verifier.into()].span(),
length.into(),
length,
domain,
)
}
Expand Down

0 comments on commit 4685fa9

Please sign in to comment.