From 7475d99f128ffe1b1e9b50a1015724f8c5bc34aa Mon Sep 17 00:00:00 2001 From: volbil Date: Mon, 19 Apr 2021 21:10:13 +0300 Subject: [PATCH 1/2] Dumb fix for dumb issue --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 46cd6198b..ea7fd14d8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4539,7 +4539,7 @@ bool static LoadBlockIndexDB(std::string& strError) if(fReindexing) fReindex = true; // Check whether we have an address index - pblocktree->ReadFlag("addressindex", fAddressIndex); + pblocktree->ReadFlag("addrindex", fAddressIndex); LogPrintf("%s: address index %s\n", __func__, fAddressIndex ? "enabled" : "disabled"); // Check whether we have a timestamp index @@ -4722,7 +4722,7 @@ bool InitBlockIndex() // Use the provided setting for -addressindex in the new database fAddressIndex = GetBoolArg("-addressindex", DEFAULT_ADDRESSINDEX); - pblocktree->WriteFlag("addressindex", fAddressIndex); + pblocktree->WriteFlag("addrindex", fAddressIndex); // Use the provided setting for -timestampindex in the new database fTimestampIndex = GetBoolArg("-timestampindex", DEFAULT_TIMESTAMPINDEX); From 4a51f382a9a3f8f0dee42826eae5361be77674c5 Mon Sep 17 00:00:00 2001 From: volbil Date: Mon, 19 Apr 2021 21:10:39 +0300 Subject: [PATCH 2/2] Updated version --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 0057da381..94ea33ddb 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ dnl require autoconf 2.60 (AS_ECHO/AS_ECHO_N) AC_PREREQ([2.60]) define(_CLIENT_VERSION_MAJOR, 4) define(_CLIENT_VERSION_MINOR, 0) -define(_CLIENT_VERSION_REVISION, 2) +define(_CLIENT_VERSION_REVISION, 3) define(_CLIENT_VERSION_BUILD, 0) define(_CLIENT_VERSION_RC, 0) define(_CLIENT_VERSION_IS_RELEASE, true)