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) 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);