mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-26 00:05:18 +00:00
sort unique denom list (#836)
This commit is contained in:
parent
0b6e47ff46
commit
421f774ec1
@ -1,6 +1,8 @@
|
||||
package keeper
|
||||
|
||||
import (
|
||||
"sort"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
|
||||
|
||||
@ -406,5 +408,6 @@ func removeDuplicates(one []string, two []string) []string {
|
||||
for key := range check {
|
||||
res = append(res, key)
|
||||
}
|
||||
sort.Strings(res)
|
||||
return res
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user