diff options
author | Bushstar <bushsolo@gmail.com> | 2020-01-21 14:07:42 +0000 |
---|---|---|
committer | Bushstar <bushsolo@gmail.com> | 2020-01-21 14:07:42 +0000 |
commit | e80317be5fc6f6a04ea3b35bfe9991b3a5d29f7a (patch) | |
tree | abe90803853d8f9b300e23570c7eb0b09716ebe1 | |
parent | 631df3ee87ec93e1fc748715671cdb5cff7308e6 (diff) | |
download | bitcoin-e80317be5fc6f6a04ea3b35bfe9991b3a5d29f7a.tar.xz |
refactor: Remove redundant conditional
-rw-r--r-- | src/checkqueue.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/checkqueue.h b/src/checkqueue.h index 978e23a7c4..9dab5a09ac 100644 --- a/src/checkqueue.h +++ b/src/checkqueue.h @@ -90,8 +90,7 @@ private: nTotal--; bool fRet = fAllOk; // reset the status for new work later - if (fMaster) - fAllOk = true; + fAllOk = true; // return the current status return fRet; } |