From 0e399faae84e3aff8fbab3ed6829bbe0197f38c6 Mon Sep 17 00:00:00 2001 From: Ivan Malygin Date: Fri, 19 Jul 2024 15:35:02 -0400 Subject: [PATCH] fix: 14230 Fixed incorrect deserialization of `PlatformState` (#14332) Signed-off-by: Ivan Malygin --- .../src/main/java/com/swirlds/platform/state/PlatformState.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform-sdk/swirlds-platform-core/src/main/java/com/swirlds/platform/state/PlatformState.java b/platform-sdk/swirlds-platform-core/src/main/java/com/swirlds/platform/state/PlatformState.java index 4e5194f564e3..a918cb44349b 100644 --- a/platform-sdk/swirlds-platform-core/src/main/java/com/swirlds/platform/state/PlatformState.java +++ b/platform-sdk/swirlds-platform-core/src/main/java/com/swirlds/platform/state/PlatformState.java @@ -225,6 +225,8 @@ public void deserialize(final SerializableDataInputStream in, final int version) private void skipUptimeData(final @NonNull SerializableDataInputStream in) throws IOException { int numOfEntries = in.readInt(); for (int i = 0; i < numOfEntries; i++) { + // nodeId + in.readLong(); // lastEventRound in.readLong(); // lastEventTime