chore: remove redundant 'Buffer' from 'Account' class (#27865)

This commit is contained in:
Ian Macalinao 2022-11-29 01:42:58 -06:00 committed by GitHub
parent 0e70275b07
commit f53aa5f12b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ export class Account {
*
* @param secretKey Secret key for the account
*/
constructor(secretKey?: Buffer | Uint8Array | Array<number>) {
constructor(secretKey?: Uint8Array | Array<number>) {
if (secretKey) {
const secretKeyBuffer = toBuffer(secretKey);
if (secretKey.length !== 64) {