aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/Initialization.ml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kernel/Initialization.ml')
-rw-r--r--lib/kernel/Initialization.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kernel/Initialization.ml b/lib/kernel/Initialization.ml
index a27539f..fc7c51a 100644
--- a/lib/kernel/Initialization.ml
+++ b/lib/kernel/Initialization.ml
@@ -34,7 +34,7 @@ module Make (Store : Abstract.Storage.STORAGE) = struct
let read_in_transaction tx =
let open Utilities.Result in
- let* fixed = Store.get tx fixed_label_address in
+ let* fixed = Store.get tx (Store.Hash fixed_label_address) in
match fixed with
| None -> Ok None
| Some fixed ->
@@ -45,7 +45,7 @@ module Make (Store : Abstract.Storage.STORAGE) = struct
| None -> Error (Error.missing_branch_index root)
end
- let store_fixed_root tx root = Store.put tx fixed_label_address (address_to_blob root)
+ let store_fixed_root tx root = Store.put tx (Store.Hash fixed_label_address) (address_to_blob root)
let create_initial_branch_state tx =
let open Utilities.Result in