mirror of
https://github.com/stakwork/sphinx-key.git
synced 2025-12-19 00:04:25 +01:00
fix version log
This commit is contained in:
@@ -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(());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user