You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The VotingPower struct is just a wrapper around a u64, and with the decision to adopt votes_per_token = 1 per namnam, there isn't much use for passing around VotingPower in the code. If anything, this may still be used only in direct communication with tendermint, but otherwise should be replaced with an Amount or just a u64 itself. This will result in cleaner and more succinct code.
The text was updated successfully, but these errors were encountered:
The
VotingPower
struct is just a wrapper around au64
, and with the decision to adoptvotes_per_token = 1
per namnam, there isn't much use for passing aroundVotingPower
in the code. If anything, this may still be used only in direct communication with tendermint, but otherwise should be replaced with anAmount
or just au64
itself. This will result in cleaner and more succinct code.The text was updated successfully, but these errors were encountered: