From a1cc3fa5003638e29d421bde200be8e06f711c83 Mon Sep 17 00:00:00 2001 From: benk10 Date: Tue, 17 Sep 2024 06:46:37 +0400 Subject: [PATCH] Fix network name for mainnet --- src/services/hwiService.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/services/hwiService.ts b/src/services/hwiService.ts index eeffe1f..81ea19e 100644 --- a/src/services/hwiService.ts +++ b/src/services/hwiService.ts @@ -41,6 +41,9 @@ const hwiService = { deviceType: string, network: string, ): Promise => { + if (network === "mainnet") { + network = "bitcoin"; + } await invoke("set_hwi_client", { fingerprint, deviceType, network }); },