diff --git a/src/fluree/db/json_ld/commit.cljc b/src/fluree/db/json_ld/commit.cljc index 29ca6c90b..683fe04e7 100644 --- a/src/fluree/db/json_ld/commit.cljc +++ b/src/fluree/db/json_ld/commit.cljc @@ -1,6 +1,5 @@ (ns fluree.db.json-ld.commit - (:require [clojure.walk :as walk] - [fluree.json-ld :as json-ld] + (:require [fluree.json-ld :as json-ld] [fluree.crypto :as crypto] [fluree.db.flake :as flake] [fluree.db.constants :as const] @@ -360,7 +359,7 @@ (let [context (get commit (keyword const/iri-default-context)) stringify? (-> context keys first keyword?) ; (too?) simple check if we need to stringify the keys before storing context-str (if stringify? - (walk/stringify-keys context) + (util/stringify-keys context) context) {:keys [address]} ( context walk/stringify-keys json-ld/parse-context)] + context-str (-> context util/stringify-keys json-ld/parse-context)] (-> branch (assoc-in [:latest-db :schema :context] context-kw) (assoc-in [:latest-db :schema :context-str] context-str))))