func (msg MsgRequestDTagTransfer) GetSigners() []sdk.AccAddress {
	addr, _ := sdk.AccAddressFromBech32(msg.Sender)
	return []sdk.AccAddress{addr}
}
GetSigners defines whose signature is required
package types
import (
	"fmt"
	"strings"
	sdk "github.com/cosmos/cosmos-sdk/types"
	sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
)
func NewMsgRequestDTagTransfer(sender, receiver string) *MsgRequestDTagTransfer {
	return &MsgRequestDTagTransfer{
		Receiver: receiver,
		Sender:   sender,
	}
}
func (msg MsgRequestDTagTransfer) Route() string { return RouterKey }
func (msg MsgRequestDTagTransfer) Type() string { return ActionRequestDTag }
func (msg MsgRequestDTagTransfer) ValidateBasic() error {
	_, err := sdk.AccAddressFromBech32(msg.Receiver)
	if err != nil {
		return sdkerrors.Wrap(sdkerrors.ErrInvalidAddress, fmt.Sprintf("invalid receiver address: %s", msg.Receiver))
	}
	_, err = sdk.AccAddressFromBech32(msg.Sender)
	if err != nil {
		return sdkerrors.Wrap(sdkerrors.ErrInvalidAddress, fmt.Sprintf("invalid sender address: %s", msg.Sender))
	}
	if msg.Sender == msg.Receiver {
		return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "the sender and receiver must be different")
	}
	return nil
}
func (msg MsgRequestDTagTransfer) GetSignBytes() []byte {
	return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(&msg))
}