From ca871a9335a3925a7439ae8e06c8341f4a740489 Mon Sep 17 00:00:00 2001 From: Sotatek-QuanLeA Date: Mon, 6 Jan 2025 16:50:55 +0700 Subject: [PATCH] fix syntax error (only IDE compile) --- .../storage/governance/ConstitutionRepo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/govoffchain-scheduler/src/main/java/org/cardanofoundation/ledgersync/govoffchainscheduler/storage/governance/ConstitutionRepo.java b/components/govoffchain-scheduler/src/main/java/org/cardanofoundation/ledgersync/govoffchainscheduler/storage/governance/ConstitutionRepo.java index f64b01a7..f541f573 100644 --- a/components/govoffchain-scheduler/src/main/java/org/cardanofoundation/ledgersync/govoffchainscheduler/storage/governance/ConstitutionRepo.java +++ b/components/govoffchain-scheduler/src/main/java/org/cardanofoundation/ledgersync/govoffchainscheduler/storage/governance/ConstitutionRepo.java @@ -21,7 +21,7 @@ SELECT MAX(ce.slot) as maxSlotNo Optional maxSlotNo(); @Query(""" - SELECT new org.cardanofoundation.ledgersync.govoffchainscheduler.dto.anchor.ConstitutionAnchorDTO(ce.anchorUrl, ce.anchorHash, ce.slot, ce.id, 0) + SELECT new org.cardanofoundation.ledgersync.govoffchainscheduler.dto.anchor.ConstitutionAnchorDTO(ce.anchorUrl, ce.anchorHash, ce.slot, ce.activeEpoch, 0) FROM ConstitutionEntity ce WHERE ce.slot >= :fromSlot and ce.slot <= :toSlot AND ce.anchorUrl IS NOT NULL