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 committed Oct 13, 2022
1 parent b066139 commit e674c60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/publickey.ts
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 e674c60

Please sign in to comment.