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
@@ -788,7 +788,7 @@ func ConfDetailsFromTxIndex(chainConn TxIndexConn, r ConfRequest,
|
||||
}
|
||||
|
||||
return &TxConfirmation{
|
||||
Tx: &tx,
|
||||
Tx: tx.Copy(),
|
||||
BlockHash: blockHash,
|
||||
BlockHeight: uint32(blockHeight),
|
||||
TxIndex: uint32(txIndex),
|
||||
|
||||
Reference in new issue
Block a user