Skip to content

Commit

Permalink
Nit: remove Fn.compose Fn.id
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeee committed Dec 1, 2023
1 parent 3dba63a commit d05242c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/mina_base/ledger_hash.ml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ let empty_hash = of_hash Outside_hash_image.t
let%bench "Ledger_hash.merge ~height:1 empty_hash empty_hash" =
merge ~height:1 empty_hash empty_hash

let of_digest = Fn.compose Fn.id of_hash
let of_digest = of_hash

type path = Random_oracle.Digest.t list

Expand Down
2 changes: 1 addition & 1 deletion src/lib/mina_base/pending_coinbase.ml
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ module Make_str (A : Wire_types.Concrete) = struct
let empty_hash =
Random_oracle.(digest (salt "PendingCoinbaseMerkleTree")) |> of_hash

let of_digest = Fn.compose Fn.id of_hash
let of_digest = of_hash
end

module Update = struct
Expand Down

0 comments on commit d05242c

Please sign in to comment.