207: func (zs *ZetaSupplyChecker) GetPendingCCTXInTransit(receivingChains []common.Chain) []*types.CrossChainTx {
208: 	cctxInTransit := make([]*types.CrossChainTx, 0)
209: 	for _, chain := range receivingChains {
210: 		cctx, err := zs.zetaClient.GetAllPendingCctx(chain.ChainId)
211: 		if err != nil {
212: 			continue
213: 		}
214: 		nonceToCctxMap := make(map[uint64]*types.CrossChainTx)
215: 		for _, c := range cctx {
216: 			if c.GetInboundTxParams().CoinType == common.CoinType_Zeta {
217: 				nonceToCctxMap[c.GetCurrentOutTxParam().OutboundTxTssNonce] = c
218: 			}
219: 		}
220:
221: 		trackers, err := zs.zetaClient.GetAllOutTxTrackerByChain(chain, Ascending)
222: 		if err != nil {
223: 			continue
224: 		}
225: 		for _, tracker := range trackers {
226: 			zs.logger.Info().Msgf("tracker exists for nonce: %d , removing from supply checks", tracker.Nonce)
227: 			delete(nonceToCctxMap, tracker.Nonce)
228: 		}
229: 		for _, c := range nonceToCctxMap {
230: 			if c != nil {
231: 				cctxInTransit = append(cctxInTransit, c)
232: 			}
233: 		}
234: 	}
235: 	return cctxInTransit
236: }
