From 7d4da5210edac64bc9e75255dc9b93403ef8bc4f Mon Sep 17 00:00:00 2001 From: swrup Date: Sat, 28 Feb 2026 02:40:47 +0100 Subject: [PATCH] --- test/test_crypto.ml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/test_crypto.ml b/test/test_crypto.ml index fba6e4ce..45c82209 100644 --- a/test/test_crypto.ml +++ b/test/test_crypto.ml @@ -144,12 +144,12 @@ let () = |> RsaPublicKey.to_octets = (rsa_pub |> B32.decode |> Result.get_ok)); + let h_pub = Result.get_ok @@ DenominationHash.of_b32 h_pub in let h_pub' = - DenominationHash.to_b32 - (DenominationHash.hash_of_rsa - (Result.get_ok @@ RsaPublicKey.of_b32 rsa_pub)) + DenominationHash.hash_of_rsa (Result.get_ok @@ RsaPublicKey.of_b32 rsa_pub) in - Fmt.pr "--@."; Fmt.pr "@.%s@." h_pub; Fmt.pr "@.%s@." h_pub' + assert (h_pub = h_pub'); + () in f test1; f test2