diff options
author | Shaul Kfir <shaul.kfir@gmail.com> | 2015-02-17 08:46:51 -0500 |
---|---|---|
committer | Shaul Kfir <shaul.kfir@gmail.com> | 2015-02-17 08:46:51 -0500 |
commit | e5ece053da705a630bb664e16036299915ac1246 (patch) | |
tree | 532f7872bc94d87796ddb5143cf34b5fdf789c4b /src/rpcmining.cpp | |
parent | 175d86e633bedcfb642fb326f1ec0b43c14c4f3b (diff) |
Rename Interval() to DifficultyAdjustmentInterval()
Diffstat (limited to 'src/rpcmining.cpp')
-rw-r--r-- | src/rpcmining.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcmining.cpp b/src/rpcmining.cpp index e3ae5cff42..165a9df697 100644 --- a/src/rpcmining.cpp +++ b/src/rpcmining.cpp @@ -44,7 +44,7 @@ Value GetNetworkHashPS(int lookup, int height) { // If lookup is -1, then use blocks since last difficulty change. if (lookup <= 0) - lookup = pb->nHeight % Params().Interval() + 1; + lookup = pb->nHeight % Params().DifficultyAdjustmentInterval() + 1; // If lookup is larger than chain, then set it to chain length. if (lookup > pb->nHeight) |