git://git.novaco.in
/
NovacoinLibrary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
4d14260
)
CNovacoinAddress: Return hash data as byte array
author
CryptoManiac
<balthazar@yandex.ru>
Thu, 27 Aug 2015 06:11:57 +0000 (09:11 +0300)
committer
CryptoManiac
<balthazar@yandex.ru>
Thu, 27 Aug 2015 06:11:57 +0000 (09:11 +0300)
Novacoin/CNovacoinAddress.cs
patch
|
blob
|
history
diff --git
a/Novacoin/CNovacoinAddress.cs
b/Novacoin/CNovacoinAddress.cs
index
e443b88
..
c2dd81c
100644
(file)
--- a/
Novacoin/CNovacoinAddress.cs
+++ b/
Novacoin/CNovacoinAddress.cs
@@
-79,9
+79,12
@@
namespace Novacoin
addrData = new List<byte>(scriptID.hashBytes);
}
- public Hash160 Hash
+ /// <summary>
+ /// 20 bytes, Hash160 of script or public key
+ /// </summary>
+ public byte[] HashBytes
{
- get { return new Hash160(addrData.ToArray()); }
+ get { return addrData.ToArray(); }
}
/// <summary>