You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
if a function has slice as parameter, it could accept both slices or Vectors as its argument
Check if any function could accept a fixed size array as a parameter instead of a slice (eg. &[u8; 32] instead of &[u8]). In this case a compiler could verify if a function call has a valid value as argument.
Acceptance Criteria
functions have slices &[u8] as parameters instead of vectors Vec<u8>
Additional Information
only perform this two actions on a places in the code where and if it makes sense
The text was updated successfully, but these errors were encountered:
Description
&[u8; 32]
instead of&[u8]
). In this case a compiler could verify if a function call has a valid value as argument.Acceptance Criteria
&[u8]
as parameters instead of vectorsVec<u8>
Additional Information
The text was updated successfully, but these errors were encountered: