From 48c3ea8106c2e0b372534d13076b89fe40fa51e1 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Sun, 30 Sep 2018 22:02:31 -0700 Subject: [PATCH] docs: correct toBuffer comment --- web3.js/src/publickey.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web3.js/src/publickey.js b/web3.js/src/publickey.js index a31919518..27f50ce69 100644 --- a/web3.js/src/publickey.js +++ b/web3.js/src/publickey.js @@ -60,7 +60,7 @@ export class PublicKey { } /** - * Return the base-58 representation of the public key + * Return the Buffer representation of the public key */ toBuffer(): Buffer { const b = this._bn.toArrayLike(Buffer);