aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorMarcoFalke <[email protected]>2017-08-27 18:23:32 -0400
committerMarcoFalke <[email protected]>2017-08-27 18:23:41 -0400
commitede386c2193fc31351e193b3a8cf30030d6be62c (patch)
tree8688e92b8977d56b32baec0c45aac00977a57f2e /src/httpserver.cpp
parentMerge #11155: Trivial: Documentation fixes for CVectorWriter ctors (diff)
parentImprove versionbits_computeblockversion test code consistency (diff)
downloaddiscoin-ede386c2193fc31351e193b3a8cf30030d6be62c.tar.xz
discoin-ede386c2193fc31351e193b3a8cf30030d6be62c.zip
Merge #11160: Improve versionbits_computeblockversion test code consistency
946638d0a Improve versionbits_computeblockversion test code consistency (danra) Pull request description: 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. Tree-SHA512: f17cf1d29fd7097d53c0135d6357ee50943bd81b5ce0be785a37b85d34b5127cd6cc17ef844b519e19c33f2d96f7ababee643b9fba7afb031f444b2cfaeedbfd
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions