Skip to content

Commit

Permalink
Merge pull request #1989 from cyrossignol/fix-vote-weight
Browse files Browse the repository at this point in the history
voting: Fix incorrect field returned in ResolveMoneySupplyForPoll()
  • Loading branch information
jamescowens authored Dec 21, 2020
2 parents f681279 + 6a25fb4 commit 0bff100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gridcoin/voting/result.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ CAmount ResolveMoneySupplyForPoll(const Poll& poll)

for (; pindex && pindex->nTime > poll_expiration; pindex = pindex->pprev);

return pindex->nTime;
return pindex->nMoneySupply;
}
} // Anonymous namespace

Expand Down

0 comments on commit 0bff100

Please sign in to comment.