Merge pull request #8372 from mohamedawnallah/deep-copy-transactions-GetBlock

routing: deep copy any transaction we obtain from `GetBlock` call.
This commit is contained in:
Yong authored and GitHub committed 2024-01-15 20:13:00 +08:00
commit 26c466aa80
11 files changed
+20 -16

No files matched your search

+1 -1
View File
@@ -165,7 +165,7 @@ func (l *Lookout) processEpoch(epoch *chainntnfs.BlockEpoch,
hint := blob.NewBreachHintFromHash(&hash)
txHints = append(txHints, hint)
hintToTx[hint] = tx
hintToTx[hint] = tx.Copy()
}
// Query the database to see if any of the breach hints cause a match