mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Make CTransaction actually immutable
This commit is contained in:
parent
42fd8dee30
commit
81e3228fcb
10 changed files with 132 additions and 141 deletions
|
|
@ -1594,8 +1594,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
|
|||
|
||||
deque<COutPoint> vWorkQueue;
|
||||
vector<uint256> vEraseQueue;
|
||||
CTransaction tx;
|
||||
vRecv >> tx;
|
||||
CTransaction tx(deserialize, vRecv);
|
||||
|
||||
CInv inv(MSG_TX, tx.GetHash());
|
||||
pfrom->AddInventoryKnown(inv);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue