public void GetMiningDifficultyTest()
        {
            var difficulty = _repo.GetMiningDifficulty().Result;

            Assert.NotNull(difficulty);
        }
Example #2
0
 /// <summary>
 /// Get mining difficulty
 /// </summary>
 /// <returns>Current MiningDifficulty</returns>
 public MiningDifficulty GetMiningDifficulty()
 {
     return(_repository.GetMiningDifficulty().Result);
 }