mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-29 09:43:05 +02:00
routing: deep copy any transaciton we obtain from GetBlock
call.
This commit is contained in:
@@ -264,7 +264,7 @@ func (b *BitcoindFilteredChainView) chainFilterer() {
|
||||
continue
|
||||
}
|
||||
|
||||
filteredTxns = append(filteredTxns, tx)
|
||||
filteredTxns = append(filteredTxns, tx.Copy())
|
||||
txAlreadyFiltered = true
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user