diff options
| author | MarcoFalke <[email protected]> | 2017-08-27 18:23:32 -0400 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2017-08-27 18:23:41 -0400 |
| commit | ede386c2193fc31351e193b3a8cf30030d6be62c (patch) | |
| tree | 8688e92b8977d56b32baec0c45aac00977a57f2e /src/script/script_error.cpp | |
| parent | Merge #11155: Trivial: Documentation fixes for CVectorWriter ctors (diff) | |
| parent | Improve versionbits_computeblockversion test code consistency (diff) | |
| download | discoin-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/script/script_error.cpp')
0 files changed, 0 insertions, 0 deletions