Skip to content

Commit

Permalink
fix: update bridge rpc localhost ip address (#1654)
Browse files Browse the repository at this point in the history
  • Loading branch information
njgheorghita authored Jan 29, 2025
1 parent 667023e commit 9c13906
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions bin/portal-bridge/src/handle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ pub fn build_trin(bridge_config: &BridgeConfig) -> anyhow::Result<Child> {
.args(["--network", &bridge_config.network.network().to_string()])
.args(["--portal-subnetworks", &subnetworks_flag(bridge_config)])
.args(["--unsafe-private-key", &private_key])
.args([
"--web3-http-address",
&format!("http://127.0.0.1:{rpc_port}"),
])
.args(["--web3-http-address", &format!("http://0.0.0.0:{rpc_port}")])
.args(["--discovery-port", &format!("{udp_port}")])
.args(["--bootnodes", &bridge_config.bootnodes]);
if let Some(ip) = bridge_config.external_ip.clone() {
Expand Down

0 comments on commit 9c13906

Please sign in to comment.