We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6323a51 commit f9f7f24Copy full SHA for f9f7f24
ouroboros-consensus-cardano/src/shelley/Ouroboros/Consensus/Shelley/Ledger/Query.hs
@@ -959,7 +959,10 @@ encodeShelleyQuery query = case query of
959
then CBOR.encodeListLen 2 <> CBOR.encodeWord8 34 <> CBOR.encodeWord8 peerKindTag
960
else CBOR.encodeListLen 1 <> CBOR.encodeWord8 34
961
where
962
- tag = case kind of AllLedgerPeers -> 0; BigLedgerPeers -> 1
+ peerKindTag =
963
+ case peerKind of
964
+ AllLedgerPeers -> 0
965
+ BigLedgerPeers -> 1
966
QueryStakePoolDefaultVote stakePoolKey ->
967
CBOR.encodeListLen 2 <> CBOR.encodeWord8 35 <> LC.toEraCBOR @era stakePoolKey
968
GetPoolDistr2 poolids ->
0 commit comments