fix frost restore routing error

This commit is contained in:
julian 2024-04-29 12:25:24 -06:00
parent 7250215edc
commit 3bddec00f1

View file

@ -395,7 +395,10 @@ class _NameYourWalletViewState extends ConsumerState<NameYourWalletView> {
RestoreFrostMsWalletView.routeName,
arguments: (
walletName: name,
coin: coin,
// TODO: [prio=med] this will cause issues if frost is ever applied to other coins
frostCurrency: coin.isTestNet
? BitcoinFrost(CryptoCurrencyNetwork.test)
: BitcoinFrost(CryptoCurrencyNetwork.main),
),
);
},