git.delta.rocks / unique-network / refs/commits / 94baf8566003

difftreelog

fix scheduler playgrounds

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

2 files changed

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