git://git.novaco.in
/
NovacoinLibrary.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Simplification of syntax
[NovacoinLibrary.git]
/
Novacoin
/
COutPoint.cs
diff --git
a/Novacoin/COutPoint.cs
b/Novacoin/COutPoint.cs
index
4c9f17a
..
71f2bda
100644
(file)
--- a/
Novacoin/COutPoint.cs
+++ b/
Novacoin/COutPoint.cs
@@
-38,8
+38,8
@@
namespace Novacoin
public COutPoint(IEnumerable<byte> bytes)
{
- hash = new Hash256(bytes.Take(32));
- n = BitConverter.ToUInt32(bytes.Skip(32).Take(4).ToArray(), 0);
+ hash = new Hash256(bytes);
+ n = BitConverter.ToUInt32(bytes.ToArray(), 32);
}
public bool IsNull