Skip to content

Commit c179036

Browse files
committed
Fix conf file to have valid port values in test
Signed-off-by: Jacinta Ferrant <[email protected]>
1 parent c043484 commit c179036

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

testnet/stacks-node/conf/testnet-miner-conf.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ mode = "krypton"
1010
peer_host = "127.0.0.1"
1111
username = "<Bitcoin RPC username>"
1212
password = "<Bitcoin RPC password>"
13-
rpc_port = <Bitcoin RPC port>
14-
peer_port = <Bitcoin P2P port>
13+
rpc_port = 12345 # Bitcoin RPC port
14+
peer_port = 6789 # Bitcoin P2P port
1515
pox_prepare_length = 100
1616
pox_reward_length = 900
1717
# Maximum amount (in sats) of "burn commitment" to broadcast for the next block's leader election

testnet/stacks-node/src/config.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3033,8 +3033,9 @@ mod tests {
30333033
if path.is_file() {
30343034
let file_name = path.file_name().unwrap().to_str().unwrap();
30353035
if file_name.ends_with(".toml") {
3036+
debug!("Parsing config file: {file_name}");
30363037
let _config = ConfigFile::from_path(path.to_str().unwrap()).unwrap();
3037-
debug!("Parsed config file: {}", file_name);
3038+
debug!("Parsed config file: {file_name}");
30383039
}
30393040
}
30403041
}

0 commit comments

Comments
 (0)