File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
src/Cardano/Ledger/Api/State Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1818
1919* Remove the ` State.Query ` module and ` getFilteredDelegationsAndRewardAccounts ` function.
2020
21+ ## 1.12.1.0
22+
23+ * Fix a bug in ` queryPoolState ` , where current Pool parameters where returned instead of the future ones.
24+
2125## 1.12.0.0
2226
2327* Add ` upgradeNativeScript ` method to ` EraApi `
Original file line number Diff line number Diff line change @@ -469,7 +469,8 @@ mkQueryPoolStateResult ::
469469mkQueryPoolStateResult f ps =
470470 QueryPoolStateResult
471471 { qpsrStakePoolParams = Map. mapWithKey stakePoolStateToStakePoolParams restrictedStakePools
472- , qpsrFutureStakePoolParams = Map. mapWithKey stakePoolStateToStakePoolParams restrictedStakePools
472+ , qpsrFutureStakePoolParams =
473+ Map. mapWithKey stakePoolStateToStakePoolParams (f $ psFutureStakePools ps)
473474 , qpsrRetiring = f $ psRetiring ps
474475 , qpsrDeposits = Map. map (fromCompact . spsDeposit) restrictedStakePools
475476 }
You can’t perform that action at this time.
0 commit comments