trivial: fix indentation/spacing in rpc/mining.cpp

Fixes some indentation issues to make the mining rpc code easier
to read and clean up some odd lines
This commit is contained in:
Patrick 2021-10-30 14:56:47 -04:00
parent c2532d3f6a
commit 8efd7e62bd
No known key found for this signature in database
GPG key ID: 7C523F5FBABE80E7

View file

@ -49,7 +49,6 @@ UniValue GetNetworkHashPS(int lookup, int height) {
// If lookup is -1, then use blocks since last difficulty change.
if (lookup <= 0)
lookup = pb->nHeight % Params().GetConsensus(pb->nHeight).DifficultyAdjustmentInterval() + 1;
//
// If lookup is larger than chain, then set it to chain length.
if (lookup > pb->nHeight)