Skip to content

Commit b9e07a6

Browse files
committed
tests: support selecting bitcoind REST as a chain source
1 parent 0757faa commit b9e07a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/common/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ pub(crate) fn setup_bitcoind_and_electrsd() -> (BitcoinD, ElectrsD) {
330330
pub(crate) fn random_chain_source<'a>(
331331
bitcoind: &'a BitcoinD, electrsd: &'a ElectrsD,
332332
) -> TestChainSource<'a> {
333-
let r = rand::random_range(0..3);
333+
let r = rand::random_range(0..4);
334334
match r {
335335
0 => {
336336
println!("Randomly setting up Esplora chain syncing...");

0 commit comments

Comments
 (0)