Skip to content

Commit

Permalink
More rework
Browse files Browse the repository at this point in the history
  • Loading branch information
bruce-riley committed Mar 8, 2024
1 parent c0c7ee7 commit e25a28a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions node/pkg/watchers/solana/ccq.go
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,9 @@ func (pub ccqPdaPublisher) publish(pcrResp *query.PerChainQueryResponseInternal,
}

if pcrResp.Status != query.QuerySuccess {
// publish() should only get called in success cases.
pub.w.ccqLogger.Error("received an unexpected query response for sol_pda query", zap.String("requestId", pub.requestId), zap.Any("pcrResp", pcrResp))
pub.w.ccqSendErrorResponse(pub.queryRequest, query.QueryFatalError)
return
}

Expand Down

0 comments on commit e25a28a

Please sign in to comment.