aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-09-25 13:11:05 +0200
committerRiccardo Spagni <ric@spagni.net>2018-09-25 13:11:05 +0200
commit689758d691bbd53e9adbcc1b935a671d33da3cd7 (patch)
treeee2d0bf99476fbcab101b515d973f677cd06cf8b
parentMerge pull request #4431 (diff)
parenttx_pool: fix tx removal at startup keeping references (diff)
downloadmonero-689758d691bbd53e9adbcc1b935a671d33da3cd7.tar.xz
Merge pull request #4435
c39ad0cd tx_pool: fix tx removal at startup keeping references (moneromooo-monero)
-rw-r--r--src/cryptonote_core/tx_pool.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cryptonote_core/tx_pool.cpp b/src/cryptonote_core/tx_pool.cpp
index a725eac6e..c31a2073b 100644
--- a/src/cryptonote_core/tx_pool.cpp
+++ b/src/cryptonote_core/tx_pool.cpp
@@ -1349,6 +1349,7 @@ namespace cryptonote
{
MWARNING("Failed to parse tx from txpool, removing");
remove.push_back(txid);
+ return true;
}
if (!insert_key_images(tx, meta.kept_by_block))
{