Skip to content

Commit

Permalink
Syncer: return nil when txId equals to 8nRRPU_DTsyZk0uIklo5fg03w9ZHOS…
Browse files Browse the repository at this point in the history
…ZN85oAbn2Kou8
  • Loading branch information
asiaziola committed Sep 8, 2024
1 parent f3aa83e commit 3d18741
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/utils/listener/transaction_downloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3d18741

Please sign in to comment.