mixnode: Add location to describe command
Removed location from the init output and added it as input in the describe command. Because this creates a different format of the description file, the patch version number must also be increased. Signed-off-by: Bogdan-Ștefan Neacșu <bogdan@nymtech.net>
This commit is contained in:
@@ -10,6 +10,7 @@ pub struct NodeDescription {
|
||||
pub(crate) name: String,
|
||||
pub(crate) description: String,
|
||||
pub(crate) link: String,
|
||||
pub(crate) location: String,
|
||||
}
|
||||
|
||||
impl Default for NodeDescription {
|
||||
@@ -18,6 +19,7 @@ impl Default for NodeDescription {
|
||||
name: "This node has not yet set a name".to_string(),
|
||||
description: "This node has not yet set a description".to_string(),
|
||||
link: "https://nymtech.net".to_string(),
|
||||
location: "This node has not yet set a location".to_string(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user