From a6e7925027026e8606014bdb16409bcfbedb2ad2 Mon Sep 17 00:00:00 2001 From: meywood <105049338+meywood@users.noreply.github.com> Date: Tue, 21 Jun 2022 18:15:12 +0100 Subject: [PATCH] Update MapSerializer.java --- .../casper/sdk/service/serialization/cltypes/MapSerializer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/casper/sdk/service/serialization/cltypes/MapSerializer.java b/src/main/java/com/casper/sdk/service/serialization/cltypes/MapSerializer.java index 112d394e6..908603ac5 100644 --- a/src/main/java/com/casper/sdk/service/serialization/cltypes/MapSerializer.java +++ b/src/main/java/com/casper/sdk/service/serialization/cltypes/MapSerializer.java @@ -30,7 +30,7 @@ public byte[] serialize(final Object toSerialize) { return serializeMap((Map) toSerialize); } else { - // The map in not new and has not been modified so write as is + // The map is not new and has not been modified so write as is return ((CLMap) toSerialize).getBytes(); } } else if (toSerialize instanceof Map) {