func (msg MsgEthereumTx) ValidateBasic() sdk.Error {
	if msg.Data.Price.Sign() != 1 {
		return types.ErrInvalidValue(fmt.Sprintf("price must be positive: %x", msg.Data.Price))
	}

	// Amount can be 0
	if msg.Data.Amount.Sign() == -1 {
		return types.ErrInvalidValue(fmt.Sprintf("amount must be positive: %x", msg.Data.Amount))
	}

	return nil
}
// ValidateBasic implements the sdk.Msg interface. It performs basic validation
// checks of a Transaction. If returns an error if validation fails.
ValidateBasic implements the sdk.Msg interface. It performs basic validation
checks of a Transaction. If returns an error if validation fails.
// ValidateBasic implements the sdk . Msg interface . It performs basic validation // checks of a Transaction . If returns an error if validation fails .
func (msg MsgEthereumTx) ValidateBasic() sdk.Error {
	if msg.Data.Price.Sign() != 1 {
		return types.ErrInvalidValue(fmt.Sprintf("price must be positive: %x", msg.Data.Price))
	}
	if msg.Data.Amount.Sign() == -1 {
		return types.ErrInvalidValue(fmt.Sprintf("amount must be positive: %x", msg.Data.Amount))
	}
	return nil
}
func ( msg MsgEthereumTx ) ValidateBasic ( ) sdk . Error { if msg . Data . Price . Sign ( ) != 1 { return types . ErrInvalidValue ( fmt . Sprintf ( " " , msg . Data . Price ) ) } if msg . Data . Amount . Sign ( ) == - 1 { return types . ErrInvalidValue ( fmt . Sprintf ( " " , msg . Data . Amount ) ) } return nil }
ValidateBasic implements the sdk.Msg interface.
ValidateBasic implements the sdk . Msg interface .
// Amount can be 0