Skip to content

Commit f29a5ff

Browse files
committed
ts: fixed needNewBlockchainEvents
1 parent fca356a commit f29a5ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typescript-sdk/src/runtime/state-machine.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ export class FumaroleSM {
376376
needNewBlockchainEvents(): boolean {
377377
const MINIMUM_UNPROCESSED_BLOCKCHAIN_EVENT = 10;
378378
return this.unprocessedBlockchainEvent.size() < MINIMUM_UNPROCESSED_BLOCKCHAIN_EVENT || (
379-
this.slotStatusUpdateQueue.size() === 0 ||
379+
this.slotStatusUpdateQueue.size() === 0 &&
380380
this.blockedSlotStatusUpdate.size === 0
381381
)
382382
}

0 commit comments

Comments
 (0)