Skip to content
This repository was archived by the owner on Dec 21, 2021. It is now read-only.

Commit e833461

Browse files
author
jtakalai
authored
Merge pull request #248 from streamr-dev/flip-until
fix(dataunion): Fix inverted poll timeout + interval.
2 parents d55b872 + 00529d1 commit e833461

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dataunion/DataUnion.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ export class DataUnion {
677677
])
678678

679679
log(`Waiting until sidechain AMB has collected required signatures for hash=${messageHash}...`)
680-
await until(async () => helper.requiredSignaturesHaveBeenCollected(messageHash), pollingIntervalMs, retryTimeoutMs)
680+
await until(async () => helper.requiredSignaturesHaveBeenCollected(messageHash), retryTimeoutMs, pollingIntervalMs)
681681

682682
const message = await sidechainAmb.message(messageHash)
683683
if (message === '0x') {

0 commit comments

Comments
 (0)