Skip to content

Commit 2cb20b5

Browse files
authored
fix: additional field in EraHistory query (#819)
Fixes #815
1 parent 23aebae commit 2cb20b5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

protocol/localstatequery/queries.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -457,10 +457,11 @@ type eraHistoryResultParams struct {
457457
SlotsPerKESPeriod struct {
458458
// Tells the CBOR decoder to convert to/from a struct and a CBOR array
459459
_ struct{} `cbor:",toarray"`
460-
Dummy1 interface{}
460+
Dummy1 int
461461
Value int
462-
Dummy2 interface{}
462+
Dummy2 []int
463463
}
464+
Unknown int
464465
}
465466

466467
// TODO

0 commit comments

Comments
 (0)