CheckProofOfWork should be static.
authorCryptoManiac <balthazar@yandex.ru>
Thu, 10 Sep 2015 17:34:43 +0000 (20:34 +0300)
committerCryptoManiac <balthazar@yandex.ru>
Thu, 10 Sep 2015 17:34:43 +0000 (20:34 +0300)
Novacoin/CBlock.cs

index 8064b9d..450612a 100644 (file)
@@ -269,7 +269,7 @@ namespace Novacoin
             return true;
         }
 
-        private bool CheckProofOfWork(uint256 hash, uint nBits)
+        private static bool CheckProofOfWork(uint256 hash, uint nBits)
         {
             uint256 nTarget = new uint256();
             nTarget.Compact = nBits;