diff --git a/src/valuehash/impl.clj b/src/valuehash/impl.clj index 42e4888..8c1cf60 100644 --- a/src/valuehash/impl.clj +++ b/src/valuehash/impl.clj @@ -82,8 +82,8 @@ (defn- map-entry->byte-array [map-entry] - (join-byte-arrays [(to-byte-array (.getKey map-entry)) - (to-byte-array (.getValue map-entry))])) + (join-byte-arrays [(to-byte-array (key map-entry)) + (to-byte-array (val map-entry))])) ;; Collections (extend-protocol CanonicalByteArray