We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3731c5 commit 1f9d2b5Copy full SHA for 1f9d2b5
src/core/ton_wallet/mod.rs
@@ -1121,6 +1121,7 @@ impl FromStr for WalletType {
1121
}
1122
1123
1124
+// Mapping to Ledger wallet type IDs
1125
impl TryInto<u16> for WalletType {
1126
type Error = anyhow::Error;
1127
@@ -1135,9 +1136,7 @@ impl TryInto<u16> for WalletType {
1135
1136
WalletType::Multisig(MultisigType::SurfWallet) => 6,
1137
WalletType::Multisig(MultisigType::Multisig2) => 7,
1138
WalletType::Multisig(MultisigType::Multisig2_1) => 8,
- WalletType::WalletV4R1 => 9,
1139
- WalletType::WalletV4R2 => 10,
1140
- WalletType::WalletV5R1 => 11,
+ WalletType::WalletV5R1 => 9,
1141
_ => anyhow::bail!("Unimplemented wallet type"),
1142
};
1143
0 commit comments