diff --git a/wallet/src/wallet.rs b/wallet/src/wallet.rs index 42b4c6f07b..935aae6f7b 100644 --- a/wallet/src/wallet.rs +++ b/wallet/src/wallet.rs @@ -101,8 +101,9 @@ impl Default for WalletConfig { } impl WalletConfig { - pub fn drone_addr(&self, tpu_addr: SocketAddr) -> SocketAddr { - let mut drone_addr = tpu_addr; + pub fn drone_addr(&self) -> SocketAddr { + // Assume drone is running on the provided network entrypoint + let mut drone_addr = self.network; drone_addr.set_port(self.drone_port.unwrap_or(DRONE_PORT)); drone_addr } @@ -311,8 +312,7 @@ pub fn process_command(config: &WalletConfig) -> Result