Renamed htlc to create_htlc so the driver is distinguished from the htlc model
This commit is contained in:
@@ -3,7 +3,7 @@ use bdk::bitcoin::Network;
|
|||||||
use tracing::Level;
|
use tracing::Level;
|
||||||
use tracing_subscriber::{filter, fmt, layer::Layer, prelude::*, Registry};
|
use tracing_subscriber::{filter, fmt, layer::Layer, prelude::*, Registry};
|
||||||
|
|
||||||
pub mod htlc;
|
pub mod create_htlc;
|
||||||
pub mod simple_transfer;
|
pub mod simple_transfer;
|
||||||
pub mod transfer_policy;
|
pub mod transfer_policy;
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ pub async fn run() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Some(Commands::BtcHtlc {}) => {
|
Some(Commands::BtcHtlc {}) => {
|
||||||
let _ = bitcoin::driver::htlc::run().await;
|
let _ = bitcoin::driver::create_htlc::run().await;
|
||||||
}
|
}
|
||||||
|
|
||||||
None => println!("No command provided. Exiting. See --help for more information."),
|
None => println!("No command provided. Exiting. See --help for more information."),
|
||||||
|
|||||||
Reference in New Issue
Block a user