Skip to content

Commit

Permalink
renaming last _poolPubKey to _poolId
Browse files Browse the repository at this point in the history
This should have been a part of
91edca5,
It is not clear how it passed CI.
  • Loading branch information
Jared Corduan committed Oct 28, 2020
1 parent 978bdf6 commit 46fb1c6
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -533,7 +533,7 @@ nonMyopicMemberRew
t
topPools
(PerformanceEstimate p) =
let nm = nonMyopicStake pp s sigma t (_poolPubKey pool) topPools
let nm = nonMyopicStake pp s sigma t (_poolId pool) topPools
f = maxPool pp rPot (unStakeShare nm) (unStakeShare s)
fHat = floor (p * (fromRational . coinToRational) f)
in memberRew (Coin fHat) pool t nm

0 comments on commit 46fb1c6

Please sign in to comment.