diff --git a/src/sync.cpp b/src/sync.cpp index ad377a195..ab4865658 100644 --- a/src/sync.cpp +++ b/src/sync.cpp @@ -98,10 +98,10 @@ static void potential_deadlock_detected(const std::pair& mismatch, } strOutput += strprintf(" %s\n", i.second.ToString().c_str()); } - if(!onlyMaybeDeadlock) { - printf("%s\n", strOutput.c_str()); - LogPrintf("%s\n", strOutput.c_str()); - } + + printf("%s\n", strOutput.c_str()); + LogPrintf("%s\n", strOutput.c_str()); + assert(false); }