git://git.novaco.in
/
NovacoinLibrary.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Use getters instead of Satoshi-style access methods
[NovacoinLibrary.git]
/
Novacoin
/
Hash.cs
diff --git
a/Novacoin/Hash.cs
b/Novacoin/Hash.cs
index
4944b30
..
34632f1
100644
(file)
--- a/
Novacoin/Hash.cs
+++ b/
Novacoin/Hash.cs
@@
-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()