Currently the HD Wallets keep a map of HDNodeWallet per account:
// Map of account number to HDNodeWallet
protected _accounts: Map<number, HDNodeWallet> = new Map();
Since the information of available accounts is already contained on NeuteredAddressInfo, and the wallet contains a _root HD node, the wallet features can be implemented easily without using the _accounts map.
Currently the HD Wallets keep a map of
HDNodeWallet
per account:Since the information of available accounts is already contained on
NeuteredAddressInfo
, and the wallet contains a_root
HD node, the wallet features can be implemented easily without using the_accounts
map.