mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-21 15:50:07 +01:00
print large orphan warning BEFORE deleting pvMsg
This commit is contained in:
committed by
Luke Dashjr
parent
b199f7547f
commit
3023e782bd
@@ -179,8 +179,8 @@ bool AddOrphanTx(const CDataStream& vMsg)
|
||||
// at most 500 megabytes of orphans:
|
||||
if (pvMsg->size() > 5000)
|
||||
{
|
||||
delete pvMsg;
|
||||
printf("ignoring large orphan tx (size: %u, hash: %s)\n", pvMsg->size(), hash.ToString().substr(0,10).c_str());
|
||||
delete pvMsg;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user