From 42c0b2da83739982ef14afc5ae99138f1fe7c31c Mon Sep 17 00:00:00 2001 From: Valentin Fernandez <33705477+valentinfernandez1@users.noreply.github.com> Date: Wed, 22 Jan 2025 10:51:54 -0300 Subject: [PATCH] Extend GenericAccountId description (#6072) --- packages/types/src/generic/AccountId.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/types/src/generic/AccountId.ts b/packages/types/src/generic/AccountId.ts index 301b8be949a..04d1e25b2c4 100644 --- a/packages/types/src/generic/AccountId.ts +++ b/packages/types/src/generic/AccountId.ts @@ -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) {