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:
parent
c2532d3f6a
commit
8efd7e62bd
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue