From 759dc80fb6c36a3908535863b3c14c88d873ef6f Mon Sep 17 00:00:00 2001 From: Peter Piekarczyk Date: Wed, 12 Oct 2022 21:04:22 -0500 Subject: [PATCH] chore: improve default PublicKey docs (#28372) * docs: replace zeros comments with ones * Update comment around docs --- web3.js/src/publickey.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web3.js/src/publickey.ts b/web3.js/src/publickey.ts index 6f8730d3d..5ea9a9e1d 100644 --- a/web3.js/src/publickey.ts +++ b/web3.js/src/publickey.ts @@ -85,7 +85,8 @@ export class PublicKey extends Struct { } /** - * Default public key value. (All zeros) + * Default public key value. The base58-encoded string representation is all ones (as seen below) + * The underlying BN number is 32 bytes that are all zeros */ static default: PublicKey = new PublicKey('11111111111111111111111111111111');