Fix UB in no Plaintext wallet.dat #85

This commit is contained in:
Duke Leto
2021-12-15 08:47:19 -05:00
parent b4f38e2a77
commit fffa06d138

View File

@@ -42,7 +42,7 @@ using namespace RPCServer;
using namespace std;
extern uint16_t ASSETCHAINS_P2PPORT,ASSETCHAINS_RPCPORT;
static bool fRPCRunning = false;
static std::atomic<bool> fRPCRunning {false};
static bool fRPCInWarmup = true;
static std::string rpcWarmupStatus("RPC server started");
static CCriticalSection cs_rpcWarmup;