diff options
Diffstat (limited to '')
| -rw-r--r-- | lib/kernel/Storage.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/Storage.ml b/lib/kernel/Storage.ml index 952b306..376d839 100644 --- a/lib/kernel/Storage.ml +++ b/lib/kernel/Storage.ml @@ -16,7 +16,7 @@ module Make (S : Abstract.Storage.STORAGE) = struct let store_blob tx blob = let open Utilities.Result in let address = Concepts.Hash.hash_of_blob blob in - let* () = S.put tx address blob in + let* () = S.put tx (S.Hash address) blob in Ok address end |
