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
This is a certainly a code-smell! Validate should be stateless and not mutate, i.e. it should have no side effects. This is a bug. Want to submit a PR @marbar3778?
Summary of Bug
https://github.com/cosmos/cosmos-sdk/blob/master/x/bank/types/balance.go#L57-L58
From the above code,
Sort()
is no effect due to the value receiver.If the sorting is intended, the receiver should be a pointer receiver.
Version
current master branch (615f224)
Steps to Reproduce
For Admin Use
The text was updated successfully, but these errors were encountered: