From 3068f19054c5e8f70343fc742dc63b809856c671 Mon Sep 17 00:00:00 2001 From: "Jonathan \"Duke\" Leto" Date: Thu, 1 Nov 2018 11:54:42 -0700 Subject: [PATCH] Use correct datadir for notarizations file --- src/komodo_validation011.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/komodo_validation011.h b/src/komodo_validation011.h index 169963340..df8c730bd 100644 --- a/src/komodo_validation011.h +++ b/src/komodo_validation011.h @@ -1006,7 +1006,7 @@ void komodo_notarized_update(int32_t nHeight,int32_t notarized_height,uint256 no #else sep = "/"; #endif - sprintf(fname,"%s%snotarizations%s",GetDefaultDataDir().string().c_str(), sep.c_str(), suffix.c_str()); + sprintf(fname,"%s%snotarizations%s",GetDataDir().string().c_str(), sep.c_str(), suffix.c_str()); LogPrint("dpow","dpow: fname.(%s)\n",fname); if ( (fp= fopen(fname,"rb+")) == 0 ) fp = fopen(fname,"wb+");