diff options
| author | danra <[email protected]> | 2017-08-26 15:12:00 +0300 |
|---|---|---|
| committer | Dan Raviv <[email protected]> | 2017-08-28 00:03:18 +0300 |
| commit | 946638d0a0884b0edcf866ea8aa2f7ffd15062b0 (patch) | |
| tree | 304c942858e5b70f3a18163bdf71292673029fb3 /src/httpserver.cpp | |
| parent | Merge #11151: Fix header guards using reserved identifiers (diff) | |
| download | discoin-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