Browse Source

DistributionBucketIdSet fix

Leszek Wiesner 3 years ago
parent
commit
e1fccf6d0a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/network-tests/src/flows/storagev2/initDistribution.ts

+ 1 - 1
tests/network-tests/src/flows/storagev2/initDistribution.ts

@@ -184,7 +184,7 @@ export default function createFlow({ families }: InitDistributionConfig) {
           return api.tx.storage.updateDistributionBucketsForBag(
             createType<BagId, 'BagId'>('BagId', { Static: sBagId }),
             familyId,
-            createType('DistributionBucketIdSet', [[bucketId.toNumber()]]),
+            createType('DistributionBucketIdSet', [bucketId.toNumber()]),
             createType('DistributionBucketIdSet', [])
           )
         })