chore: add modifier to constructor
This commit is contained in:
parent
64280da339
commit
be022f6c4f
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user