solana_remote_wallet::ledger

Function is_valid_ledger

Source
pub fn is_valid_ledger(vendor_id: u16, product_id: u16) -> bool
Expand description

Check if the detected device is a valid Ledger device by checking both the product ID and the vendor ID