Skip to content

Commit

Permalink
fix genesis
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown unknown committed Sep 13, 2023
1 parent e1b65fd commit 08d524a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/perp/v2/module/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func ExportGenesis(ctx sdk.Context, k keeper.Keeper) *types.GenesisState {
genesis.DnrEpoch = k.DnREpoch.GetOr(ctx, 0)

// export volumes
volumes := k.TraderVolumes.Iterate(ctx, nil)
volumes := k.TraderVolumes.Iterate(ctx, collections.PairRange[sdk.AccAddress, uint64]{})
defer volumes.Close()
for ; volumes.Valid(); volumes.Next() {
key := volumes.Key()
Expand Down

0 comments on commit 08d524a

Please sign in to comment.