removing needless clones
This commit is contained in:
@@ -167,7 +167,7 @@ pub struct NodeDescription {
|
||||
}
|
||||
|
||||
/// Auxiliary details of the associated Nym Node.
|
||||
#[derive(Clone, Debug, Default, Serialize, Deserialize, JsonSchema)]
|
||||
#[derive(Clone, Copy, Debug, Default, Serialize, Deserialize, JsonSchema)]
|
||||
#[cfg_attr(feature = "openapi", derive(utoipa::ToSchema))]
|
||||
pub struct AuxiliaryDetails {
|
||||
/// Optional ISO 3166 alpha-2 two-letter country code of the node's **physical** location
|
||||
|
||||
@@ -464,7 +464,7 @@ impl NymNode {
|
||||
)?;
|
||||
|
||||
let auxiliary_details = api_requests::v1::node::models::AuxiliaryDetails {
|
||||
location: self.config.host.location.clone(),
|
||||
location: self.config.host.location,
|
||||
};
|
||||
|
||||
// mixnode info
|
||||
|
||||
Reference in New Issue
Block a user