Skip to content

Commit

Permalink
Correct _poolPubKey to _poolId
Browse files Browse the repository at this point in the history
This was somehow missed in #1945, and for some (unknown to me) reason,
CI didn't pick up on it. But when I try to build, it fails.

Regardless, this should be fixed!
  • Loading branch information
nc6 committed Oct 28, 2020
1 parent b290506 commit 0fbecc5
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 0fbecc5

Please sign in to comment.