mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
68bfc0bce349954b2e0fb82aed2f47e213fff9e4 doc: correct GetDifficulty doc after #13288 (fanquake) Pull request description: `chain` is no longer passed to GetDifficulty, and we just return `1.0` if no `blockindex`. Tree-SHA512: 701375d732f343200c4abfaf9039d5c12b10abff97b022e84564f81b26b5ba552f1eb0c0d0fd5370b29b53319eafcf39773a36e1c2dd04ee77e61c18c7b183fa
This commit is contained in:
parent
7c120a7124
commit
1a8f904a0b
@ -10,8 +10,7 @@ class CBlockIndex;
|
||||
class UniValue;
|
||||
|
||||
/**
|
||||
* Get the difficulty of the net wrt to the given block index, or the chain tip if
|
||||
* not provided.
|
||||
* Get the difficulty of the net wrt to the given block index.
|
||||
*
|
||||
* @return A floating point number that is a multiple of the main net minimum
|
||||
* difficulty (4295032833 hashes).
|
||||
|
Loading…
Reference in New Issue
Block a user