Skip to content

Commit

Permalink
fix: substrate runner libp2p port (#1533)
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasad1 authored Apr 15, 2024
1 parent 51d9ce0 commit 652b9bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/substrate-runner/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ fn try_find_substrate_port_from_output(

// Parse the p2p port line (present in debug logs)
let p2p_port_line = line
.rsplit_once("libp2p_tcp: New listen address: /ip4/127.0.0.1/tcp/")
.rsplit_once("New listen address: /ip4/127.0.0.1/tcp/")
.map(|(_, address_str)| address_str);

if let Some(line_port) = p2p_port_line {
Expand Down

0 comments on commit 652b9bc

Please sign in to comment.