From 68e8ced0beea2aeabae65b65c70171086f0759b4 Mon Sep 17 00:00:00 2001 From: Thibault Martinez Date: Fri, 12 Jan 2024 16:16:16 +0100 Subject: [PATCH] nodejs: fix blockIssuerKeys type (#1836) --- bindings/nodejs/lib/types/block/output/feature.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/nodejs/lib/types/block/output/feature.ts b/bindings/nodejs/lib/types/block/output/feature.ts index 0ea713e422..a9fefdd2be 100644 --- a/bindings/nodejs/lib/types/block/output/feature.ts +++ b/bindings/nodejs/lib/types/block/output/feature.ts @@ -163,9 +163,9 @@ class BlockIssuerFeature extends Feature { @Type(() => BlockIssuerKey, { discriminator: BlockIssuerKeyDiscriminator, }) - readonly blockIssuerKeys: Set; + readonly blockIssuerKeys: BlockIssuerKey[]; - constructor(expirySlot: SlotIndex, blockIssuerKeys: Set) { + constructor(expirySlot: SlotIndex, blockIssuerKeys: BlockIssuerKey[]) { super(FeatureType.BlockIssuer); this.expirySlot = expirySlot; this.blockIssuerKeys = blockIssuerKeys;