Skip to content

Commit

Permalink
Merge pull request #55 from bianjieai/dreamer/improve-code
Browse files Browse the repository at this point in the history
rename variable name
  • Loading branch information
aofengli authored Oct 27, 2023
2 parents e1cc238 + c470aa5 commit d841419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keeper/trace.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func (k Keeper) GetAllClassTraces(ctx sdk.Context) types.Traces {

// IterateClassTraces iterates over the class traces in the store
// and performs a callback function.
func (k Keeper) IterateClassTraces(ctx sdk.Context, cb func(denomTrace types.ClassTrace) bool) {
func (k Keeper) IterateClassTraces(ctx sdk.Context, cb func(_ types.ClassTrace) bool) {
store := ctx.KVStore(k.storeKey)
iterator := sdk.KVStorePrefixIterator(store, types.ClassTraceKey)

Expand Down

0 comments on commit d841419

Please sign in to comment.