From 12427dd8d3721b0ab64e6a78881a18c49e15c931 Mon Sep 17 00:00:00 2001 From: Myagui Date: Wed, 21 Sep 2016 20:40:07 +0100 Subject: [PATCH] Fix minor typo in "need resize" message. Message observed while synchronizing a node from scratch. "LMDB memory map needs resized" Proposing a change to: "LMDB memory map needs to be resized" --- src/blockchain_db/lmdb/db_lmdb.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/blockchain_db/lmdb/db_lmdb.cpp b/src/blockchain_db/lmdb/db_lmdb.cpp index 8ad875fc..21ed8f4d 100644 --- a/src/blockchain_db/lmdb/db_lmdb.cpp +++ b/src/blockchain_db/lmdb/db_lmdb.cpp @@ -1081,7 +1081,7 @@ void BlockchainLMDB::open(const std::string& filename, const int mdb_flags) if (need_resize()) { - LOG_PRINT_L0("LMDB memory map needs resized, doing that now."); + LOG_PRINT_L0("LMDB memory map needs to be resized, doing that now."); do_resize(); } @@ -2500,7 +2500,7 @@ uint64_t BlockchainLMDB::add_block(const block& blk, const size_t& block_size, c // for batch mode, DB resize check is done at start of batch transaction if (! m_batch_active && need_resize()) { - LOG_PRINT_L0("LMDB memory map needs resized, doing that now."); + LOG_PRINT_L0("LMDB memory map needs to be resized, doing that now."); do_resize(); } }