Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a pseudorandom generator for move tests #7554

Merged
merged 17 commits into from
Jan 24, 2023
Merged
Prev Previous commit
Next Next commit
Remove newline
  • Loading branch information
jonas-lj committed Jan 20, 2023
commit a1dbbdc73337eb0fe50ca4dae1c25e8a630f5492
1 change: 0 additions & 1 deletion crates/sui-framework/sources/test/random.move
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ module sui::random {
candidate
}


/// Use the given pseudorandom generator to get a random `u8`.
public fun get_next_u8(random: &mut Random): u8 {
*vector::borrow(&get_next_digest(random), 0)
Expand Down