diff --git a/x/colinearcore/client/cli/tx_claim_funds.go b/x/colinearcore/client/cli/tx_claim_funds.go index 947e45c..6f3fc8f 100644 --- a/x/colinearcore/client/cli/tx_claim_funds.go +++ b/x/colinearcore/client/cli/tx_claim_funds.go @@ -4,6 +4,7 @@ import ( "strconv" "colinear/x/colinearcore/types" + "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" diff --git a/x/colinearcore/handler.go b/x/colinearcore/handler.go index ecc9894..8525ad6 100644 --- a/x/colinearcore/handler.go +++ b/x/colinearcore/handler.go @@ -33,6 +33,9 @@ func NewHandler(k keeper.Keeper) sdk.Handler { case *types.MsgUnlockAllFunds: res, err := msgServer.UnlockAllFunds(sdk.WrapSDKContext(ctx), msg) return sdk.WrapServiceResult(ctx, res, err) + case *types.MsgClaimFunds: + res, err := msgServer.ClaimFunds(sdk.WrapSDKContext(ctx), msg) + return sdk.WrapServiceResult(ctx, res, err) // this line is used by starport scaffolding # 1 default: errMsg := fmt.Sprintf("unrecognized %s message type: %T", types.ModuleName, msg)