diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-09-04 12:27:46 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-09-04 12:28:50 +0200 |
commit | 788b8a290c93bedb4f1f184736df501c8fffe1d6 (patch) | |
tree | 24ea68b81731c3a3a6e73279e2fbbe2beaa955d8 /src | |
parent | e1b776eb1b340400e97500d05aed81d31b7c72d5 (diff) | |
parent | 68bfc0bce349954b2e0fb82aed2f47e213fff9e4 (diff) |
Merge #14135: doc: correct GetDifficulty doc after #13288
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
Diffstat (limited to 'src')
-rw-r--r-- | src/rpc/blockchain.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rpc/blockchain.h b/src/rpc/blockchain.h index 544bc62c36..add335eb8a 100644 --- a/src/rpc/blockchain.h +++ b/src/rpc/blockchain.h @@ -16,8 +16,7 @@ class UniValue; static constexpr int NUM_GETBLOCKSTATS_PERCENTILES = 5; /** - * 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). |