mirror of
https://github.com/stakwork/sphinx-key.git
synced 2025-12-18 15:54:31 +01:00
fix config test server localhost, align more close with upstream vls
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
use sphinx_key_parser as parser;
|
||||
use sphinx_key_signer::lightning_signer::bitcoin::Network;
|
||||
|
||||
use clap::{arg, App, AppSettings};
|
||||
use clap::{App, AppSettings, Arg};
|
||||
use rumqttc::{self, AsyncClient, Event, MqttOptions, Packet, QoS};
|
||||
use sphinx_key_signer::vls_protocol::model::PubKey;
|
||||
use sphinx_key_signer::{self, InitResponse};
|
||||
@@ -23,8 +23,8 @@ async fn main() -> Result<(), Box<dyn Error>> {
|
||||
let app = App::new("tester")
|
||||
.setting(AppSettings::NoAutoVersion)
|
||||
.about("CLN:mqtt-tester - MQTT client signer")
|
||||
.arg(arg!(--test "run a test against the embedded device"))
|
||||
.arg(arg!(--log "log each VLS message"));
|
||||
.arg(Arg::from("--test run a test against the embedded device"))
|
||||
.arg(Arg::from("--log log each VLS message"));
|
||||
let matches = app.get_matches();
|
||||
let is_test = matches.is_present("test");
|
||||
let is_log = matches.is_present("log");
|
||||
|
||||
Reference in New Issue
Block a user