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
change Uint256::new to take a u128. It's much more common to need that for test code and even in production code, as opposed to providing the full byte array. Also, you can always use from_be_bytes instead. What's important here is that the function stays const
do the analogous thing for Uint512, Int256 and Int512 (using i128 for the signed ints)
The text was updated successfully, but these errors were encountered:
Uint256::new
to take au128
. It's much more common to need that for test code and even in production code, as opposed to providing the full byte array. Also, you can always usefrom_be_bytes
instead. What's important here is that the function staysconst
Uint512
,Int256
andInt512
(usingi128
for the signed ints)The text was updated successfully, but these errors were encountered: