Skip to content

Commit

Permalink
fix logical bug
Browse files Browse the repository at this point in the history
  • Loading branch information
neitdung committed Jun 6, 2024
1 parent b62750a commit ac1f498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/apps/transfer/types/denom.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func (d Denoms) Less(i, j int) bool {
return d[i].Base < d[j].Base
}

if len(d[i].Trace) != len(d[j].Base) {
if len(d[i].Trace) != len(d[j].Trace) {
return len(d[i].Trace) < len(d[j].Trace)
}

Expand Down

0 comments on commit ac1f498

Please sign in to comment.