diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2012-06-19 15:50:12 -0400 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2012-06-19 16:30:37 -0400 |
commit | b90b8159db929232b7142baa903ddc0226dd7e10 (patch) | |
tree | 4b6bb2283735df24608c6cb6177ca2b59b590022 /src | |
parent | bd05d057ebd0a9f54ba5f8488c9c129eddf372ba (diff) |
print large orphan warning BEFORE deleting pvMsg
Diffstat (limited to 'src')
-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 27feeca15f..7d2fbd5c41 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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; } |