From dd8c3173f67322d4be48489a8f7235c1a23feac3 Mon Sep 17 00:00:00 2001 From: Khushboo Mehta Date: Thu, 12 Oct 2023 13:24:41 +0200 Subject: [PATCH] fix(@desktop/wallet): Wallet -> Setting -> Edit network: toast message is not displayed when reverting to default fixes #12419 --- src/app_service/service/network/service.nim | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/app_service/service/network/service.nim b/src/app_service/service/network/service.nim index 003f8268e4..a55f7e53c8 100644 --- a/src/app_service/service/network/service.nim +++ b/src/app_service/service/network/service.nim @@ -173,9 +173,6 @@ proc getNetworkForCollectibles*(self: Service): NetworkDto = proc updateNetworkEndPointValues*(self: Service, chainId: int, newMainRpcInput, newFailoverRpcUrl: string, revertToDefault: bool) = let network = self.getNetworkByChainId(chainId) - if network.rpcURL == newMainRpcInput and network.fallbackURL == newFailoverRpcUrl: - return - if network.rpcURL != newMainRpcInput: network.rpcURL = newMainRpcInput