Skip to content

Commit

Permalink
Reverse the output of txgov
Browse files Browse the repository at this point in the history
  • Loading branch information
Soupstraw committed Apr 25, 2024
1 parent 94bc23d commit 25f0dd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ledger/Ledger.lagda
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ record LState : Set where
certState : CertState

txgov : TxBody → List (GovVote ⊎ GovProposal)
txgov txb = map inj₁ txvote ++ map inj₂ txprop
txgov txb = reverse $ map inj₁ txvote ++ map inj₂ txprop
where open TxBody txb
\end{code}
\caption{Types and functions for the LEDGER transition system}
Expand Down

0 comments on commit 25f0dd2

Please sign in to comment.