diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-06-05 20:30:40 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-06-05 20:38:43 +0200 |
commit | a589f536b5e15daf3ac6ffcc137a146514c81967 (patch) | |
tree | 25083a0c8c55e5046da7f2ce1a4cf1361fe50bd7 /src/core_write.cpp | |
parent | 264efdca74f2cfdcc1c08b240b8a0acd7ad1d6e9 (diff) | |
parent | ebec7317ca1acbc65afa7fb08fc219c315fc4527 (diff) |
Merge #13288: rpc: Remove the need to include rpc/blockchain.cpp in order to put `GetDifficulty` under test
ebec7317ca1acbc65afa7fb08fc219c315fc4527 Drop the chain argument to GetDifficulty (Ben Woosley)
Pull request description:
By dropping the chain argument to `GetDifficulty`. `GetDifficulty` was called in two ways:
* with a guaranteed non-null blockindex
* with no argument
Change the latter case to be provided `chainActive.Tip()` explicitly.
Introduced in: #11748
Tree-SHA512: f2c97014be185f3e3de92db15848548650e4a67fab20a41bcfa851c5c63c245915cbe9380f84d9da2081e8756d31a41de417db1d35cfecf41ddb4f25070eb525
Diffstat (limited to 'src/core_write.cpp')
0 files changed, 0 insertions, 0 deletions