mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-20 18:56:19 +00:00
fix: substrate runner libp2p port (#1533)
This commit is contained in:
1 parent
51d9ce0d76
commit
652b9bca26
1 file changed
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user