mirror of
https://github.com/luxfi/wallet.git
synced 2026-07-27 03:37:41 +00:00
The switch in walletSchemeName covers every WalletSchemeID enum value, so TypeScript --strict narrows the default arm's `s` to `never` and rejects `s.toString(16)`. Cast through `number` for the forward-compat fallback path. No behaviour change; KAT vector for AccountID derivation (chainID=9000, scheme=0x42) still matches the Go side at 76a03630148103ec558cf4d8f7e8a2d8766ea205d96a4529249c3aaf9c5d078cc9f9fdb8f21a5e7ef6bb4c4ea29c9654.