Skip to content

Commit

Permalink
chore: remove redundant 'Buffer' from 'Account' class (solana-labs#27865
Browse files Browse the repository at this point in the history
)
  • Loading branch information
macalinao authored and gnapoli23 committed Dec 16, 2022
1 parent a763851 commit d49726e
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 d49726e

Please sign in to comment.