Conditional check against fMaster is now redundant as it is already checked as true. This originally made sense as the outer conditional was:
Removal of fQuit happened in the commit below.
Conditional check against fMaster is now redundant as it is already checked as true. This originally made sense as the outer conditional was:
Removal of fQuit happened in the commit below.
ACK 647c63c4f3ffe9fb3b5ff091f9e85dc4667e54ee -- redundant code is confusing and obscures the intent of the code
Thanks for linking to the removal that made this redundant - that makes the context clear.
@fanquake the build failed to what seems like an issue unrelated to this commit, same reason the following builds failed on recent commits.
https://ci.appveyor.com/project/DrahtBot/bitcoin/builds/30242431 https://ci.appveyor.com/project/DrahtBot/bitcoin/builds/30242115
Is there a unit test for that?
ACK 647c63c4f3ffe9fb3b5ff091f9e85dc4667e54ee
ACK 647c63c
Maybe it's better to change the title of the PR and the commit mesage to:
refactor: Remove redundant conditional
ACK 647c63c
ACK e80317be5fc6f6a04ea3b35bfe9991b3a5d29f7a.
Removed condition already checked at line 89.
Restarted appveyor.
re-ACK e80317be5fc6f6a04ea3b35bfe9991b3a5d29f7a
ACK e80317be5fc6f6a04ea3b35bfe9991b3a5d29f7a
ACK e80317be5fc6f6a04ea3b35bfe9991b3a5d29f7a, I have reviewed the code, and it looks OK, I agree it can be merged.
@fanquake Trying again now that the appveyor issue appears to be fixed.
Note that commit is still https://github.com/bitcoin/bitcoin/commit/e80317be5fc6f6a04ea3b35bfe9991b3a5d29f7a, just changed and changed back to rerun CI.