chore: make directsecp256k1hdwallet constructor not protected

This commit is contained in:
Alex Harley 2021-05-14 23:22:37 +02:00
parent c3ab89f6a9
commit 25589bc9b2
No known key found for this signature in database
GPG Key ID: 36DCBCB317F919C3

View File

@ -243,7 +243,7 @@ export class DirectSecp256k1HdWallet implements OfflineDirectSigner {
/** Derivation instructions */
private readonly accounts: readonly Secp256k1Derivation[];
protected constructor(mnemonic: EnglishMnemonic, options: DirectSecp256k1HdWalletConstructorOptions) {
constructor(mnemonic: EnglishMnemonic, options: DirectSecp256k1HdWalletConstructorOptions) {
const prefix = options.prefix ?? defaultOptions.prefix;
const hdPaths = options.hdPaths ?? defaultOptions.hdPaths;
this.secret = mnemonic;