File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
cardano-api/src/Cardano/Api/Query/Internal/Type Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -427,7 +427,7 @@ decodeStakeSnapshot (SerialisedStakeSnapshots (Serialised ls)) = StakeSnapshot <
427427decodeBigLedgerPeerSnapshot
428428 :: Consensus. ShelleyNodeToClientVersion
429429 -> Serialised LedgerPeerSnapshot
430- -> Either (LBS. ByteString , DecoderError ) LedgerPeerSnapshot
430+ -> Either (LBS. ByteString , DecoderError ) ( LedgerPeerSnapshot BigLedgerPeers )
431431decodeBigLedgerPeerSnapshot ntcV (Serialised lps) =
432432 first
433433 (lps,)
@@ -694,7 +694,7 @@ toConsensusQueryShelleyBased sbe = \case
694694 )
695695 sbe
696696 QueryLedgerPeerSnapshot ->
697- Some (consensusQueryInEraInMode era (Consensus. GetCBOR Consensus. GetBigLedgerPeerSnapshot ))
697+ Some (consensusQueryInEraInMode era (Consensus. GetCBOR Consensus. GetLedgerPeerSnapshot ))
698698 QueryStakePoolDefaultVote govActs ->
699699 caseShelleyToBabbageOrConwayEraOnwards
700700 ( const $
@@ -1016,7 +1016,7 @@ fromConsensusQueryResultShelleyBased sbe sbeQuery q' r' =
10161016 _ -> fromConsensusQueryResultMismatch
10171017 QueryLedgerPeerSnapshot {} ->
10181018 case q' of
1019- Consensus. GetCBOR Consensus. GetBigLedgerPeerSnapshot ->
1019+ Consensus. GetCBOR Consensus. GetLedgerPeerSnapshot {} ->
10201020 r'
10211021 _ -> fromConsensusQueryResultMismatch
10221022 QueryStakePoolDefaultVote {} ->
You can’t perform that action at this time.
0 commit comments