Change monero blocktime config to match monero harness blocktime

This commit is contained in:
rishflab 2020-12-23 10:01:51 +11:00
parent a2fc93e582
commit cb9d599c25
2 changed files with 1 additions and 2 deletions

View File

@ -7,7 +7,6 @@ use crate::{
};
use anyhow::{bail, Result};
use async_recursion::async_recursion;
use libp2p::{core::Multiaddr, PeerId};
use rand::{CryptoRng, RngCore};
use std::{convert::TryFrom, fmt, sync::Arc};
use tokio::select;

View File

@ -75,7 +75,7 @@ mod regtest {
pub static MONERO_FINALITY_CONFIRMATIONS: u32 = 1;
pub static MONERO_AVG_BLOCK_TIME: Lazy<Duration> = Lazy::new(|| Duration::from_secs(60));
pub static MONERO_AVG_BLOCK_TIME: Lazy<Duration> = Lazy::new(|| Duration::from_secs(1));
pub static BITCOIN_REFUND_TIMELOCK: u32 = 50;