Skip to content

Commit 788b8a2

Browse files
committed
Merge #14135: doc: correct GetDifficulty doc after #13288
68bfc0b 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
2 parents e1b776e + 68bfc0b commit 788b8a2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/rpc/blockchain.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ class UniValue;
1616
static constexpr int NUM_GETBLOCKSTATS_PERCENTILES = 5;
1717

1818
/**
19-
* Get the difficulty of the net wrt to the given block index, or the chain tip if
20-
* not provided.
19+
* Get the difficulty of the net wrt to the given block index.
2120
*
2221
* @return A floating point number that is a multiple of the main net minimum
2322
* difficulty (4295032833 hashes).

0 commit comments

Comments
 (0)