fix version log

This commit is contained in:
Evan Feenstra
2022-06-10 15:14:01 -07:00
parent 7af8539acf
commit 7571d9b8fd

View File

@@ -11,7 +11,6 @@ use std::env;
use tokio::sync::{mpsc, oneshot};
use vls_proxy::client::UnixClient;
use vls_proxy::connection::{open_parent_fd, UnixConnection};
use vls_proxy::util::setup_logging;
pub struct Channel {
pub sequence: u16,
@@ -34,7 +33,7 @@ pub struct ChannelReply {
fn main() -> anyhow::Result<()> {
let parent_fd = open_parent_fd();
setup_logging("hsmd ", "info");
util::setup_logging("hsmd ", "info");
let app = App::new("signer")
.setting(AppSettings::NoAutoVersion)
.about("CLN:mqtt - connects to an embedded VLS over a MQTT connection")
@@ -52,7 +51,7 @@ fn main() -> anyhow::Result<()> {
// Pretend to be the right version, given to us by an env var
let version =
env::var("GREENLIGHT_VERSION").expect("set GREENLIGHT_VERSION to match c-lightning");
log::info!("{}", version);
println!("{}", version);
return Ok(());
}