We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e8f3c0 commit 1ec5642Copy full SHA for 1ec5642
src/lib/transition_frontier/persistent_frontier/persistent_frontier.ml
@@ -169,6 +169,9 @@ module Instance = struct
169
170
let check_database t = Database.check t.db
171
172
+ let get_root_hash t =
173
+ Database.get_root_hash t.db |> Result.map_error ~f:Database.Error.message
174
+
175
let get_root_transition ~signature_kind ~proof_cache_db t =
176
let open Result.Let_syntax in
177
Database.get_root_hash t.db
0 commit comments