chore: add modifier to constructor

This commit is contained in:
Alex Harley 2021-05-15 16:38:36 +02:00
parent 64280da339
commit be022f6c4f
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[];
constructor(mnemonic: EnglishMnemonic, options: DirectSecp256k1HdWalletConstructorOptions) {
public constructor(mnemonic: EnglishMnemonic, options: DirectSecp256k1HdWalletConstructorOptions) {
const prefix = options.prefix ?? defaultOptions.prefix;
const hdPaths = options.hdPaths ?? defaultOptions.hdPaths;
this.secret = mnemonic;