Skip to content

Commit

Permalink
web3.js: remove redundant 'Buffer' from 'Account' class
Browse files Browse the repository at this point in the history
  • Loading branch information
macalinao committed Sep 17, 2022
1 parent 5664c12 commit ecad513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web3.js/src/account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit ecad513

Please sign in to comment.