routing: deep copy any transaciton we obtain from GetBlock call.
This commit is contained in:
11 files changed
+20
-16
No files matched your search
@@ -283,7 +283,7 @@ func (b *BtcdFilteredChainView) chainFilterer() {
|
||||
continue
|
||||
}
|
||||
|
||||
filteredTxns = append(filteredTxns, tx)
|
||||
filteredTxns = append(filteredTxns, tx.Copy())
|
||||
txAlreadyFiltered = true
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user