diff --git a/swap/src/config.rs b/swap/src/config.rs index 8ef318c2..b0ea5d4f 100644 --- a/swap/src/config.rs +++ b/swap/src/config.rs @@ -95,8 +95,9 @@ mod testnet { mod regtest { use super::*; - // In test, we set a shorter time to fail fast - pub static BOB_TIME_TO_ACT: Lazy = Lazy::new(|| Duration::from_secs(30)); + // In test, we set a shorter time to fail fast but not so short that it makes + // the test fail + pub static BOB_TIME_TO_ACT: Lazy = Lazy::new(|| Duration::from_secs(10 * 60)); pub static BITCOIN_FINALITY_CONFIRMATIONS: u32 = 1;