diff options
| author | Estevan Castilho <tevo@riajuu.net> | 2026-08-23 17:03:25 +0000 |
|---|---|---|
| committer | Estevan Castilho <tevo@riajuu.net> | 2026-08-23 17:03:25 +0000 |
| commit | 997f3c6c039fd73de26df9f2d2cc1afa9f2677b4 (patch) | |
| tree | 6c68b4ad213c3de892a5350ea0e46539680966dd /lib/concepts/Hash.ml | |
| parent | 4c45f50eb5950d9dfc21fe36839d90c77de13d54 (diff) | |
| download | RNT-997f3c6c039fd73de26df9f2d2cc1afa9f2677b4.tar.gz RNT-997f3c6c039fd73de26df9f2d2cc1afa9f2677b4.zip | |
Ordering is now under Utilities
Diffstat (limited to 'lib/concepts/Hash.ml')
| -rw-r--r-- | lib/concepts/Hash.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/concepts/Hash.ml b/lib/concepts/Hash.ml index b2ed4b2..922851a 100644 --- a/lib/concepts/Hash.ml +++ b/lib/concepts/Hash.ml @@ -5,7 +5,7 @@ type hash = Digestif.SHA256.t let size = 256/8 let compare h1 h2 = Digestif.SHA256.unsafe_compare h1 h2 - |> Ordering.of_int + |> Utilities.Ordering.of_int let hash_of_bytes bytes = Digestif.SHA256.digest_bytes bytes @@ -31,4 +31,4 @@ let power_of_two p = let pick n hash = let threshold = Digestif.SHA256.of_raw_string (power_of_two (256 - n)) in - compare hash threshold = Ordering.Smaller + compare hash threshold = Utilities.Ordering.Smaller |
