From f6a3567a666818b8315db4aec79750802b0c669e Mon Sep 17 00:00:00 2001 From: Denali Marsh Date: Tue, 21 Jan 2020 10:24:33 -0800 Subject: [PATCH] removed unimplemented MsgTransferCDP (#325) --- x/cdp/alias.go | 1 - x/cdp/types/codec.go | 1 - x/cdp/types/msg.go | 5 ----- 3 files changed, 7 deletions(-) diff --git a/x/cdp/alias.go b/x/cdp/alias.go index 951dff00..6d9d75e2 100644 --- a/x/cdp/alias.go +++ b/x/cdp/alias.go @@ -152,7 +152,6 @@ type ( MsgWithdraw = types.MsgWithdraw MsgDrawDebt = types.MsgDrawDebt MsgRepayDebt = types.MsgRepayDebt - MsgTransferCDP = types.MsgTransferCDP Params = types.Params CollateralParam = types.CollateralParam CollateralParams = types.CollateralParams diff --git a/x/cdp/types/codec.go b/x/cdp/types/codec.go index 6db0831d..48a5fb76 100644 --- a/x/cdp/types/codec.go +++ b/x/cdp/types/codec.go @@ -19,5 +19,4 @@ func RegisterCodec(cdc *codec.Codec) { cdc.RegisterConcrete(MsgWithdraw{}, "cdp/MsgWithdraw", nil) cdc.RegisterConcrete(MsgDrawDebt{}, "cdp/MsgDrawDebt", nil) cdc.RegisterConcrete(MsgRepayDebt{}, "cdp/MsgRepayDebt", nil) - cdc.RegisterConcrete(MsgTransferCDP{}, "cdp/MsgTransferCDP", nil) } diff --git a/x/cdp/types/msg.go b/x/cdp/types/msg.go index 14d3a1e3..acfe1324 100644 --- a/x/cdp/types/msg.go +++ b/x/cdp/types/msg.go @@ -321,8 +321,3 @@ func (msg MsgRepayDebt) String() string { Payment: %s `, msg.Sender, msg.CdpDenom, msg.Payment) } - -// MsgTransferCDP changes the ownership of a cdp -type MsgTransferCDP struct { - // TODO -}