Skip to content

Commit 224ade3

Browse files
authored
Fix port conflict (#94)
1 parent 2c84edf commit 224ade3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/framework.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,8 @@ fn generate_test_config<T: TestCase>(
322322
std::fs::create_dir_all(&data_dir)
323323
.with_context(|| format!("Failed to create {} directory", data_dir.display()))?;
324324

325-
let p2p_port = get_available_port()?;
326325
let rpc_port = get_available_port()?;
326+
let p2p_port = get_available_port()?;
327327

328328
bitcoin_confs.push(BitcoinConfig {
329329
p2p_port,

0 commit comments

Comments
 (0)