Skip to content

Commit 4cf115d

Browse files
authored
fix regression to TRBBRidge (V1) (#51)
1 parent ff13b7d commit 4cf115d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

reporter/client/reporter_monitors.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,11 +401,11 @@ func (c *Client) MonitorForTippedQueries(ctx context.Context, wg *sync.WaitGroup
401401
haveCommited := commitedIds[query.Id]
402402
mutex.Unlock()
403403
if height > query.Expiration || haveCommited ||
404-
!strings.EqualFold(queryType, "SpotPrice") && !strings.EqualFold(queryType, "TRBBridge") {
404+
!strings.EqualFold(queryType, "SpotPrice") && !strings.EqualFold(queryType, "TRBBridgeV2") {
405405
continue
406406
}
407407

408-
if strings.EqualFold(queryType, "TRBBridge") {
408+
if strings.EqualFold(queryType, "TRBBridgeV2") {
409409
mutex.Lock()
410410
haveCommitedTip := depositTipMap[query.Id]
411411
mutex.Unlock()

0 commit comments

Comments
 (0)