set base path correctly
@@ -429,9 +429,10 @@ impl CliConfiguration<Self> for RelayChainCli {
}
fn base_path(&self) -> Result<Option<BasePath>> {
- self.shared_params()
- .base_path()
- .or_else(|_| Ok(self.base_path.clone().map(Into::into)))
+ Ok(self
+ .shared_params()
+ .base_path()?
+ .or_else(|| self.base_path.clone().map(Into::into)))
}
fn rpc_http(&self, default_listen_port: u16) -> Result<Option<SocketAddr>> {
