From 53b8bc48a3485324e42d5acbf4dcf342b8759b8c Mon Sep 17 00:00:00 2001 From: Sotatek-HuyLe3a Date: Thu, 19 Sep 2024 16:32:46 +0700 Subject: [PATCH] chore: #82 ignore 'BREAK' item --- .../yaci/core/protocol/localstate/queries/GovStateQuery.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/src/main/java/com/bloxbean/cardano/yaci/core/protocol/localstate/queries/GovStateQuery.java b/core/src/main/java/com/bloxbean/cardano/yaci/core/protocol/localstate/queries/GovStateQuery.java index 74c0ee1..c59d87e 100644 --- a/core/src/main/java/com/bloxbean/cardano/yaci/core/protocol/localstate/queries/GovStateQuery.java +++ b/core/src/main/java/com/bloxbean/cardano/yaci/core/protocol/localstate/queries/GovStateQuery.java @@ -497,6 +497,9 @@ public List deserializeGovActionIdListResult(DataItem govActionsDI) Array govActionsArray = (Array) govActionsDI; for (DataItem item : govActionsArray.getDataItems()) { + if (item == SimpleValue.BREAK) { + continue; + } govActionIds.add(deserializeGovActionIdResult(item)); }