Skip to content

Commit

Permalink
Merge pull request #29 from bithyve/fix-mainnet-network-name
Browse files Browse the repository at this point in the history
Fix network name for mainnet
  • Loading branch information
ben-kaufman authored Sep 17, 2024
2 parents fc4c94c + a1cc3fa commit 9b87e4d
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 9b87e4d

Please sign in to comment.