Protect komodo_snapshot() by cs_main lock
This commit is contained in:
@@ -590,6 +590,7 @@ CBlockTreeDB *pblocktree = NULL;
|
||||
|
||||
UniValue komodo_snapshot()
|
||||
{
|
||||
LOCK(cs_main);
|
||||
int64_t total = -1;
|
||||
UniValue result(UniValue::VOBJ);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user