Renamed htlc to create_htlc so the driver is distinguished from the htlc model

This commit is contained in:
Dave Hrycyszyn
2024-07-29 11:08:29 +01:00
parent f78784973c
commit cea9d8ead5
3 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ use bdk::bitcoin::Network;
use tracing::Level;
use tracing_subscriber::{filter, fmt, layer::Layer, prelude::*, Registry};
pub mod htlc;
pub mod create_htlc;
pub mod simple_transfer;
pub mod transfer_policy;

View File

@@ -37,7 +37,7 @@ pub async fn run() {
}
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."),