From 3d187412dee162be085c14c534883e02ee3fbf4a Mon Sep 17 00:00:00 2001 From: Asia Date: Sun, 8 Sep 2024 21:42:06 +0200 Subject: [PATCH] Syncer: return nil when txId equals to 8nRRPU_DTsyZk0uIklo5fg03w9ZHOSZN85oAbn2Kou8 --- src/utils/listener/transaction_downloader.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/utils/listener/transaction_downloader.go b/src/utils/listener/transaction_downloader.go index 737a8d2..2cc0ef8 100644 --- a/src/utils/listener/transaction_downloader.go +++ b/src/utils/listener/transaction_downloader.go @@ -171,11 +171,6 @@ func (self *TransactionDownloader) downloadTransactions(block *arweave.Block) (o // Encode txId for later txId := base64.RawURLEncoding.EncodeToString(txIdBytes) - // to be removed, verification not passing - if txId == "8nRRPU_DTsyZk0uIklo5fg03w9ZHOSZN85oAbn2Kou8" { - return - } - // Retries downloading transaction until success or permanent error err = task.NewRetry(). WithContext(self.Ctx). @@ -217,6 +212,11 @@ func (self *TransactionDownloader) downloadTransactions(block *arweave.Block) (o return err } + // to be removed, verification not passing + if txId == "8nRRPU_DTsyZk0uIklo5fg03w9ZHOSZN85oAbn2Kou8" { + return nil + } + // Skip transactions in unsupported format if tx.Format < 2 { tx = nil