diff --git a/x/storage/keeper/active_deals.go b/x/storage/keeper/active_deals.go index f7aa647b..3ad12005 100644 --- a/x/storage/keeper/active_deals.go +++ b/x/storage/keeper/active_deals.go @@ -7,7 +7,7 @@ import ( "github.com/jackalLabs/canine-chain/v5/x/storage/types" ) -// SetActiveDeals set a specific activeDeals in the store from its index +// SetLegacyActiveDeals set a specific activeDeals in the store from its index func (k Keeper) SetLegacyActiveDeals(ctx sdk.Context, activeDeals types.LegacyActiveDeals) { store := prefix.NewStore(ctx.KVStore(k.storeKey), types.KeyPrefix(types.LegacyActiveDealsKeyPrefix)) b := k.cdc.MustMarshal(&activeDeals) @@ -45,7 +45,7 @@ func (k Keeper) RemoveLegacyActiveDeals( )) } -// GetAllActiveDeals returns all activeDeals +// GetAllLegacyActiveDeals returns all activeDeals func (k Keeper) GetAllLegacyActiveDeals(ctx sdk.Context) (list []types.LegacyActiveDeals) { store := prefix.NewStore(ctx.KVStore(k.storeKey), types.KeyPrefix(types.LegacyActiveDealsKeyPrefix)) iterator := sdk.KVStorePrefixIterator(store, []byte{})