aboutsummaryrefslogtreecommitdiff
path: root/src/netbase.cpp
diff options
context:
space:
mode:
authordanra <danra@users.noreply.github.com>2017-08-26 15:12:00 +0300
committerDan Raviv <dan@soundradix.com>2017-08-28 00:03:18 +0300
commit946638d0a0884b0edcf866ea8aa2f7ffd15062b0 (patch)
tree304c942858e5b70f3a18163bdf71292673029fb3 /src/netbase.cpp
parent7fd49d01dc2ea444ba4d81d0cfa17486b03c8515 (diff)
downloadbitcoin-946638d0a0884b0edcf866ea8aa2f7ffd15062b0.tar.xz
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/netbase.cpp')
0 files changed, 0 insertions, 0 deletions