From 72f304d508f846fc8211fdc3e44f701405752b66 Mon Sep 17 00:00:00 2001 From: sowle Date: Mon, 18 Mar 2019 13:39:27 +0300 Subject: [PATCH] memory pool finally fixed --- src/currency_core/tx_pool.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/currency_core/tx_pool.cpp b/src/currency_core/tx_pool.cpp index 6721ff1e..830e49db 100644 --- a/src/currency_core/tx_pool.cpp +++ b/src/currency_core/tx_pool.cpp @@ -1059,6 +1059,7 @@ namespace currency txs.resize(i + 1); txs[i] = &txs_v[i]; + ++i; } std::sort(txs.begin(), txs.end(), [](txv *a, txv *b) -> bool {