Use Low32 property.
authorCryptoManiac <balthazar.ad@gmail.com>
Sat, 12 Sep 2015 14:15:13 +0000 (17:15 +0300)
committerCryptoManiac <balthazar.ad@gmail.com>
Sat, 12 Sep 2015 14:15:13 +0000 (17:15 +0300)
Novacoin/StakeModifier.cs

index 474e81d..030c3ce 100644 (file)
@@ -440,7 +440,7 @@ namespace Novacoin
 
             hashChecksum >>= (256 - 32);
 
-            return (uint)hashChecksum.Low64;
+            return hashChecksum.Low32;
         }
 
         public static bool CheckProofOfStake(CTransaction tx, uint nBits, out uint256 hashProofOfStake, out uint256 targetProofOfStake)