Fix zindex flag detection

This commit is contained in:
Jonathan "Duke" Leto
2019-08-20 20:19:24 -07:00
parent b2c03c82a5
commit d03d774c18
3 changed files with 5 additions and 6 deletions

View File

@@ -6680,7 +6680,7 @@ bool InitBlockIndex() {
pblocktree->WriteFlag("addressindex", fAddressIndex);
// Use the provided setting for -zindex in the new database
fAddressIndex = GetBoolArg("-zindex", DEFAULT_SHIELDEDINDEX);
fZindex = GetBoolArg("-zindex", DEFAULT_SHIELDEDINDEX);
pblocktree->WriteFlag("zindex", fZindex);
// Use the provided setting for -timestampindex in the new database