Skip to content

Commit

Permalink
Implement fix for #3826
Browse files Browse the repository at this point in the history
  • Loading branch information
lehins committed Nov 10, 2023
1 parent bc40bf2 commit 91b82ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eras/conway/impl/src/Cardano/Ledger/Conway/Rules/Epoch.hs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ import Cardano.Ledger.Shelley.Rules (
)
import qualified Cardano.Ledger.Shelley.Rules as Shelley
import Cardano.Ledger.Slot (EpochNo)
import Cardano.Ledger.UMap (UView (..), unionKeyDeposits, (∪+), (◁))
import Cardano.Ledger.UMap (UView (..), unionRewAgg, (∪+), (◁))
import Cardano.Ledger.Val (zero, (<->))
import Control.SetAlgebra (eval, (⨃))
import Control.State.Transition (
Expand Down Expand Up @@ -169,7 +169,7 @@ returnProposalDeposits removedProposals =
dsUnifiedL %~ returnProposalDepositsUMap
where
returnProposalDepositsUMap umap =
unionKeyDeposits (RewDepUView umap) $ foldl' addReward mempty removedProposals
unionRewAgg (RewDepUView umap) $ foldl' addReward mempty removedProposals
where
addReward m' GovActionState {..} =
Map.insertWith
Expand Down

0 comments on commit 91b82ae

Please sign in to comment.