From: CryptoManiac Date: Thu, 10 Sep 2015 17:34:43 +0000 (+0300) Subject: CheckProofOfWork should be static. X-Git-Url: https://git.novaco.in/?p=NovacoinLibrary.git;a=commitdiff_plain;h=f11201b1edaaabe33a256da25333f4f26f0cc136;hp=b04860ce4401717015404177827586071e5f8eff CheckProofOfWork should be static. --- diff --git a/Novacoin/CBlock.cs b/Novacoin/CBlock.cs index 8064b9d..450612a 100644 --- a/Novacoin/CBlock.cs +++ b/Novacoin/CBlock.cs @@ -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;