Extend GenericAccountId description (#6072)

This commit is contained in:
Valentin Fernandez
2025-01-22 08:51:54 -05:00
committed by GitHub
parent f80286f0f8
commit 42c0b2da83
+2
View File
@@ -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) {