From 2cb20b55835735e65ea79621901a60e29c31f420 Mon Sep 17 00:00:00 2001 From: Aurora Gaffney Date: Tue, 31 Dec 2024 19:35:02 -0600 Subject: [PATCH] fix: additional field in EraHistory query (#819) Fixes #815 --- protocol/localstatequery/queries.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/protocol/localstatequery/queries.go b/protocol/localstatequery/queries.go index b31fc6e1..b62426b7 100644 --- a/protocol/localstatequery/queries.go +++ b/protocol/localstatequery/queries.go @@ -457,10 +457,11 @@ type eraHistoryResultParams struct { SlotsPerKESPeriod struct { // Tells the CBOR decoder to convert to/from a struct and a CBOR array _ struct{} `cbor:",toarray"` - Dummy1 interface{} + Dummy1 int Value int - Dummy2 interface{} + Dummy2 []int } + Unknown int } // TODO