Skip to content

Commit

Permalink
Update crates/iroha_smart_contract_utils/src/lib.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Shunkichi Sato <[email protected]>
Signed-off-by: Mykhailo Lohachov <[email protected]>
  • Loading branch information
aoyako and s8sato authored Feb 3, 2025
1 parent 2e05e1b commit a523504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/iroha_smart_contract_utils/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ macro_rules! register_getrandom_err_callback {
fn stub_getrandom(_dest: &mut [u8]) -> Result<(), $crate::getrandom::Error> {
const ERROR_MESSAGE: &str =
"`getrandom()` is not implemented. To provide your custom function \
see https://docs.rs/getrandom/0.2.0/getrandom/macro.register_custom_getrandom.html. \
see https://docs.rs/getrandom/0.2/getrandom/macro.register_custom_getrandom.html. \
Be aware that your function must give the same result on different peers at the same execution round,
and keep in mind the consequences of purely implemented random function.";

Expand Down

0 comments on commit a523504

Please sign in to comment.