aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authordanra <[email protected]>2017-08-26 15:12:00 +0300
committerDan Raviv <[email protected]>2017-08-28 00:03:18 +0300
commit946638d0a0884b0edcf866ea8aa2f7ffd15062b0 (patch)
tree304c942858e5b70f3a18163bdf71292673029fb3 /src/httpserver.cpp
parentMerge #11151: Fix header guards using reserved identifiers (diff)
downloaddiscoin-946638d0a0884b0edcf866ea8aa2f7ffd15062b0.tar.xz
discoin-946638d0a0884b0edcf866ea8aa2f7ffd15062b0.zip
Improve versionbits_computeblockversion test code consistency
In this test, `nTime` is used for all the calls to `Mine()`, each time being set to the correct time beforehand, except for in the last few calls to `Mine()` where `nStartTime` is used directly, even though `nTime` is still set to `nStartTime` beforehand. `nTime` just remains unused for these last few calls to `Mine()`. Changed the last few calls to `Mine()` to use `nTime` instead, improving consistency. This also fixes an unused value static analyzer warning about `nTime` being set to a value which is never used.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions