Use getters instead of Satoshi-style access methods
[NovacoinLibrary.git] / Novacoin / Hash.cs
index 4944b30..34632f1 100644 (file)
@@ -51,9 +51,9 @@ namespace Novacoin
             _hashBytes = bytes;
         }
 
-        public bool IsZero()
+        public bool IsZero
         {
-            return !_hashBytes.Any(b => b != 0);
+            get { return !_hashBytes.Any(b => b != 0); }
         }
 
         public override string ToString()