diff --git a/src/core/ton_wallet/mod.rs b/src/core/ton_wallet/mod.rs index 0672c05b2..33ae914dc 100644 --- a/src/core/ton_wallet/mod.rs +++ b/src/core/ton_wallet/mod.rs @@ -1121,6 +1121,7 @@ impl FromStr for WalletType { } } +// Mapping to Ledger wallet type IDs impl TryInto for WalletType { type Error = anyhow::Error; @@ -1135,9 +1136,7 @@ impl TryInto for WalletType { WalletType::Multisig(MultisigType::SurfWallet) => 6, WalletType::Multisig(MultisigType::Multisig2) => 7, WalletType::Multisig(MultisigType::Multisig2_1) => 8, - WalletType::WalletV4R1 => 9, - WalletType::WalletV4R2 => 10, - WalletType::WalletV5R1 => 11, + WalletType::WalletV5R1 => 9, _ => anyhow::bail!("Unimplemented wallet type"), };