diff --git a/web3.js/src/account.ts b/web3.js/src/account.ts index 3dd26429d2..c2a4e02fe7 100644 --- a/web3.js/src/account.ts +++ b/web3.js/src/account.ts @@ -23,7 +23,7 @@ export class Account { * * @param secretKey Secret key for the account */ - constructor(secretKey?: Buffer | Uint8Array | Array) { + constructor(secretKey?: Uint8Array | Array) { if (secretKey) { const secretKeyBuffer = toBuffer(secretKey); if (secretKey.length !== 64) {