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
@@ -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),
|
||||
|
||||
Reference in new issue
Block a user