Skip to content

Commit

Permalink
fix(x/group/internal/orm): use proper map type to string not interfac…
Browse files Browse the repository at this point in the history
…e{} (#18288)
  • Loading branch information
odeke-em authored Oct 28, 2023
1 parent 7bef022 commit 7ad7f47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/group/internal/orm/indexer.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ func multiKeyAddFunc(store storetypes.KVStore, secondaryIndexKey interface{}, ro

// difference returns the list of elements that are in a but not in b.
func difference(a, b []interface{}) ([]interface{}, error) {
set := make(map[interface{}]struct{}, len(b))
set := make(map[string]struct{}, len(b))
for _, v := range b {
bt, err := keyPartBytes(v, true)
if err != nil {
Expand Down

0 comments on commit 7ad7f47

Please sign in to comment.