mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
bin/tau: little fix in tau-cli
This commit is contained in:
@@ -24,7 +24,7 @@ use crate::{
|
||||
};
|
||||
|
||||
async fn start(options: CliTau, config: TauConfig) -> Result<()> {
|
||||
let rpc_addr = &format!("tcp://{}", &config.rpc_listener_url.url.clone());
|
||||
let rpc_addr = &format!("tcp://{}", &config.rpc_listen.url.clone());
|
||||
|
||||
match options.command {
|
||||
Some(CliTauSubCommands::Add { title, desc, assign, project, due, rank }) => {
|
||||
|
||||
@@ -19,7 +19,7 @@ pub const CONFIG_FILE_CONTENTS: &[u8] = include_bytes!("../../taud_config.toml")
|
||||
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||
pub struct TauConfig {
|
||||
/// The address where taud should bind its RPC socket
|
||||
pub rpc_listener_url: UrlConfig,
|
||||
pub rpc_listen: UrlConfig,
|
||||
}
|
||||
|
||||
#[derive(Subcommand)]
|
||||
|
||||
Reference in New Issue
Block a user