git://git.novaco.in
/
NovacoinLibrary.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
New constructor for block header class
[NovacoinLibrary.git]
/
Novacoin
/
Hash.cs
diff --git
a/Novacoin/Hash.cs
b/Novacoin/Hash.cs
index
fbff17f
..
e013e8b
100644
(file)
--- a/
Novacoin/Hash.cs
+++ b/
Novacoin/Hash.cs
@@
-43,7
+43,7
@@
namespace Novacoin
/// <param name="bytesList">List of bytes</param>
public Hash(IEnumerable<byte> bytes)
{
- _hashBytes = bytes.Take<byte>(hashSize).ToArray<byte>();
+ _hashBytes = bytes.Take(hashSize).ToArray();
}
public Hash(byte[] bytes)