Refactoring
This commit is contained in:
@@ -4,8 +4,8 @@ use tracing::Level;
|
||||
use tracing_subscriber::{filter, fmt, layer::Layer, prelude::*, Registry};
|
||||
|
||||
pub mod create_htlc;
|
||||
pub mod policy_transfer;
|
||||
pub mod simple_transfer;
|
||||
pub mod transfer_policy;
|
||||
|
||||
async fn setup() -> Result<(BitcoinClient, BitcoinClient), anyhow::Error> {
|
||||
tracing_setup();
|
||||
|
||||
@@ -33,7 +33,7 @@ pub async fn run() {
|
||||
}
|
||||
|
||||
Some(Commands::BtcTransferPolicy {}) => {
|
||||
let _ = bitcoin::driver::transfer_policy::run().await;
|
||||
let _ = bitcoin::driver::policy_transfer::run().await;
|
||||
}
|
||||
|
||||
Some(Commands::BtcHtlc {}) => {
|
||||
|
||||
Reference in New Issue
Block a user