From 42d443c51a17e824714d0e0abda3c2389b90d1e2 Mon Sep 17 00:00:00 2001 From: scilio Date: Sun, 21 Aug 2022 17:07:30 -0400 Subject: [PATCH] use port 3420 as default for wallet owner for testnet --- src/config.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/config.rs b/src/config.rs index 4dc8cde..99f5e9f 100644 --- a/src/config.rs +++ b/src/config.rs @@ -248,12 +248,8 @@ pub fn grin_node_url(chain_type: &ChainTypes) -> SocketAddr { } } -pub fn wallet_owner_url(chain_type: &ChainTypes) -> SocketAddr { - if *chain_type == ChainTypes::Testnet { - "127.0.0.1:13420".parse().unwrap() - } else { - "127.0.0.1:3420".parse().unwrap() - } +pub fn wallet_owner_url(_chain_type: &ChainTypes) -> SocketAddr { + "127.0.0.1:3420".parse().unwrap() } #[cfg(test)]