mirror of
https://github.com/dogecoin/dogecoin.git
synced 2026-01-31 10:30:52 +00:00
Merge pull request #3332 from AjaxPop/patch-2
Use nullptr instead of null
This commit is contained in:
commit
28fbf0f917
@ -49,9 +49,9 @@ double GetDifficulty(const CBlockIndex* blockindex)
|
||||
{
|
||||
// Floating point number that is a multiple of the minimum difficulty,
|
||||
// minimum difficulty = 1.0.
|
||||
if (blockindex == NULL)
|
||||
if (blockindex == nullptr)
|
||||
{
|
||||
if (chainActive.Tip() == NULL)
|
||||
if (chainActive.Tip() == nullptr)
|
||||
return 1.0;
|
||||
else
|
||||
blockindex = chainActive.Tip();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user