git.delta.rocks / unique-network / refs/commits / c6878e8a456d

difftreelog

fix scheduler playgrounds

Daniel Shiposha2022-10-20parent: #d1cb9dc.patch.diff
in: master

2 files changed

modifiedtests/src/util/playgrounds/unique.dev.tsdiffbeforeafterboth
312 await this.helper.wait.noScheduledTasks();312 await this.helper.wait.noScheduledTasks();
313313
314 function makeId(slider: number) {314 function makeId(slider: number) {
315 const scheduledIdSize = 32;315 const scheduledIdSize = 64;
316 const hexId = slider.toString(16);316 const hexId = slider.toString(16);
317 const prefixSize = scheduledIdSize - hexId.length;317 const prefixSize = scheduledIdSize - hexId.length;
318318
modifiedtests/src/util/playgrounds/unique.tsdiffbeforeafterboth
--- a/tests/src/util/playgrounds/unique.ts
+++ b/tests/src/util/playgrounds/unique.ts
@@ -2908,7 +2908,7 @@
           this.blocksNum,
           this.options.periodic ? [this.options.periodic.period, this.options.periodic.repetitions] : null,
           this.options.priority ?? null,
-          {Value: scheduledTx},
+          scheduledTx,
         ],
         expectSuccess,
       );