routing: deep copy any transaciton we obtain from GetBlock call.

This commit is contained in:
Mohamed Awnallah committed 2024-01-15 11:35:55 +02:00
1 parent 2f04ce7c6e
commit 99908ed2dc
11 files changed
+20 -16

No files matched your search

+1 -1
View File
@@ -635,7 +635,7 @@ func (n *NeutrinoNotifier) historicalConfDetails(confRequest chainntnfs.ConfRequ
}
return &chainntnfs.TxConfirmation{
Tx: tx.MsgTx(),
Tx: tx.MsgTx().Copy(),
BlockHash: blockHash,
BlockHeight: scanHeight,
TxIndex: uint32(i),