Skip to content

Commit

Permalink
chore: improve default PublicKey docs (#28372)
Browse files Browse the repository at this point in the history
* docs: replace zeros comments with ones

* Update comment around docs
  • Loading branch information
peterpme authored Oct 13, 2022
1 parent b8acb1b commit 759dc80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web3.js/src/publickey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down

0 comments on commit 759dc80

Please sign in to comment.