Skip to content

Commit

Permalink
Fix network name for mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-kaufman committed Sep 17, 2024
1 parent fc4c94c commit a1cc3fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/services/hwiService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ const hwiService = {
deviceType: string,
network: string,
): Promise<void> => {
if (network === "mainnet") {
network = "bitcoin";
}
await invoke<void>("set_hwi_client", { fingerprint, deviceType, network });
},

Expand Down

0 comments on commit a1cc3fa

Please sign in to comment.