Skip to content

Commit

Permalink
Merge branch 'master' into improve-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rileystephens28 authored Jun 20, 2024
2 parents 4d06014 + 2de857c commit 3860771
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions src/wallet/hdwallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ export abstract class AbstractHDWallet {

protected static _coinType?: AllowedCoinType;

/**
* Map of addresses to address info.
*/
// Map of addresses to address info
protected _addresses: Map<string, NeuteredAddressInfo> = new Map();

/**
Expand Down Expand Up @@ -93,7 +91,7 @@ export abstract class AbstractHDWallet {
* @param {number} startingIndex - The index from which to start deriving addresses.
* @param {Zone} zone - The zone (shard) for which the address should be valid.
* @param {boolean} [isChange=false] - Whether to derive a change address (default is false). Default is `false`
* Default is `false` Default is `false` Default is `false`
* Default is `false` Default is `false`
*
* @returns {HDNodeWallet} - The derived HD node wallet containing a valid address for the specified zone.
* @throws {Error} If a valid address for the specified zone cannot be derived within the allowed attempts.
Expand Down
4 changes: 2 additions & 2 deletions src/wallet/qi-hdwallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ export class QiHDWallet extends AbstractHDWallet {
*
* @param {Zone} zone - The zone in which to scan for addresses.
* @param {number} [account=0] - The index of the account to scan. Defaults to 0. Default is `0` Default is `0`
* Default is `0` Default is `0`
* Default is `0`
*
* @returns {Promise<void>} A promise that resolves when the scan is complete.
* @throws {Error} If the zone is invalid.
Expand Down Expand Up @@ -377,7 +377,7 @@ export class QiHDWallet extends AbstractHDWallet {
*
* @param {Zone} zone - The zone in which to scan for addresses.
* @param {number} [account=0] - The index of the account to scan. Defaults to 0. Default is `0` Default is `0`
* Default is `0` Default is `0`
* Default is `0`
*
* @returns {Promise<void>} A promise that resolves when the scan is complete.
* @throws {Error} If the provider is not set.
Expand Down

0 comments on commit 3860771

Please sign in to comment.