Skip to content

Commit

Permalink
Extend GenericAccountId description (#6072)
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinfernandez1 authored Jan 22, 2025
1 parent f80286f commit 42c0b2d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/types/src/generic/AccountId.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ class BaseAccountId extends U8aFixed {
* A wrapper around an AccountId/PublicKey representation. Since we are dealing with
* underlying PublicKeys (32 bytes in length), we extend from U8aFixed which is
* just a Uint8Array wrapper with a fixed length.
* If constructed with an empty value ([], "", undefined) it will result in
* the zero account 0x000...000.
*/
export class GenericAccountId extends BaseAccountId {
constructor (registry: Registry, value?: AnyU8a) {
Expand Down

0 comments on commit 42c0b2d

Please sign in to comment.