Skip to content

Commit

Permalink
test condition fix
Browse files Browse the repository at this point in the history
Signed-off-by: Chengxuan Xing <[email protected]>
  • Loading branch information
Chengxuan committed Jun 9, 2024
1 parent 9ada795 commit c6c4283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/confirmations/receipt_checker.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ func (rc *receiptChecker) schedule(pending *pendingItem, suspectedTimeout bool)
return
}
pending.queuedStale = rc.entries.PushBack(pending)
rc.cond.Signal()
rc.cond.Broadcast()
rc.cond.L.Unlock()
// Log (outside the lock as it's a contended one)
pendingKey := pending.getKey()
Expand Down

0 comments on commit c6c4283

Please sign in to comment.