diff --git a/web3.js/src/publickey.ts b/web3.js/src/publickey.ts index 1a90c5e1c0..449f90371f 100644 --- a/web3.js/src/publickey.ts +++ b/web3.js/src/publickey.ts @@ -109,14 +109,14 @@ export class PublicKey extends Struct { } /** - * Return the byte array representation of the public key + * Return the byte array representation of the public key in big endian */ toBytes(): Uint8Array { return this.toBuffer(); } /** - * Return the Buffer representation of the public key + * Return the Buffer representation of the public key in big endian */ toBuffer(): Buffer { const b = this._bn.toArrayLike(Buffer);