Mercurial > hg > bitcoin
changeset 2814:92770239f5d3 draft
print large orphan warning BEFORE deleting pvMsg
author | Gavin Andresen <gavinandresen@gmail.com> |
---|---|
date | Tue, 19 Jun 2012 15:50:12 -0400 |
parents | 9da1393a33e3 |
children | 3f8a81ee744a |
files | src/main.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main.cpp +++ b/src/main.cpp @@ -179,8 +179,8 @@ // at most 500 megabytes of orphans: if (pvMsg->size() > 5000) { + printf("ignoring large orphan tx (size: %u, hash: %s)\n", pvMsg->size(), hash.ToString().substr(0,10).c_str()); delete pvMsg; - printf("ignoring large orphan tx (size: %u, hash: %s)\n", pvMsg->size(), hash.ToString().substr(0,10).c_str()); return false; }