diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2012-06-19 15:50:12 -0400 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2012-06-19 17:14:29 -0400 |
commit | c283b3c569d6ea67a07e96a6dea3c1645d7be259 (patch) | |
tree | 4237edf9202b2615fcefd61cb8fd030e5812de7a /src/main.cpp | |
parent | 451c3957fe63958100741a07e58405f8f564074c (diff) |
print large orphan warning BEFORE deleting pvMsg
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 0654ff8897..2d3e35138c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -180,8 +180,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; } |