Skip to content

Commit

Permalink
shorter
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioDemianLerner committed Jan 4, 2018
1 parent fbc802d commit 3f17c9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rskj-core/src/main/java/co/rsk/mine/MinerServerImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public MinerServerImpl(Ethereum ethereum,
RskSystemProperties.CONFIG.getAverageFallbackMiningTime();
// default
if (secsBetweenFallbackMinedBlocks==0)
secsBetweenFallbackMinedBlocks = (RskSystemProperties.CONFIG.getBlockchainConfig().getCommonConstants().getDurationLimit() + 1);
secsBetweenFallbackMinedBlocks = (RskSystemProperties.CONFIG.getBlockchainConfig().getCommonConstants().getDurationLimit());

autoSwitchBetweenNormalAndFallbackMining = !RskSystemProperties.CONFIG.getBlockchainConfig().getCommonConstants().getFallbackMiningDifficulty().equals(BigInteger.ZERO);
}
Expand Down

0 comments on commit 3f17c9e

Please sign in to comment.