fixed linter issues

Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
This commit is contained in:
Jürgen Eckel 2024-11-28 15:32:25 +01:00
parent 074b10948a
commit 8e2b9e8a35
No known key found for this signature in database
2 changed files with 0 additions and 2 deletions

View File

@ -17,7 +17,6 @@ func CmdDistributions() *cobra.Command {
Short: "Query distributions", Short: "Query distributions",
Args: cobra.ExactArgs(0), Args: cobra.ExactArgs(0),
RunE: func(cmd *cobra.Command, args []string) (err error) { RunE: func(cmd *cobra.Command, args []string) (err error) {
clientCtx, err := client.GetClientQueryContext(cmd) clientCtx, err := client.GetClientQueryContext(cmd)
if err != nil { if err != nil {
return err return err

View File

@ -14,7 +14,6 @@ import (
func TestQueryDistribtions(t *testing.T) { func TestQueryDistribtions(t *testing.T) {
keeper, ctx := keepertest.DaoKeeper(t) keeper, ctx := keepertest.DaoKeeper(t)
wctx := sdk.WrapSDKContext(ctx) wctx := sdk.WrapSDKContext(ctx)
//var popEpochs int64 = 24
distributions := createNDistributionOrder(keeper, ctx, 20) distributions := createNDistributionOrder(keeper, ctx, 20)
for _, tc := range []struct { for _, tc := range []struct {
desc string desc string