From 95ecb02e7af2ca6f44281b0bd978bbb6097e615f Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Thu, 7 Jan 2021 11:46:58 +1100 Subject: [PATCH] Small changes to make debugging easier and tests --- swap/src/config.rs | 2 +- swap/src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/swap/src/config.rs b/swap/src/config.rs index bd56630e..154a82cf 100644 --- a/swap/src/config.rs +++ b/swap/src/config.rs @@ -90,7 +90,7 @@ mod mainnet { mod testnet { use super::*; - pub static BOB_TIME_TO_ACT: Lazy = Lazy::new(|| Duration::from_secs(5 * 60)); + pub static BOB_TIME_TO_ACT: Lazy = Lazy::new(|| Duration::from_secs(60 * 60)); // This does not reflect recommended values for mainnet! pub static BITCOIN_FINALITY_CONFIRMATIONS: u32 = 1; diff --git a/swap/src/main.rs b/swap/src/main.rs index 74db62e3..81702042 100644 --- a/swap/src/main.rs +++ b/swap/src/main.rs @@ -38,7 +38,7 @@ extern crate prettytable; #[tokio::main] async fn main() -> Result<()> { - init_tracing(LevelFilter::Info).expect("initialize tracing"); + init_tracing(LevelFilter::Trace).expect("initialize tracing"); let opt = Options::from_args();