git://git.novaco.in
/
NovacoinLibrary.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
New interop methods, ToString() implementation for transaction structures + quick...
[NovacoinLibrary.git]
/
Novacoin
/
Hash.cs
diff --git
a/Novacoin/Hash.cs
b/Novacoin/Hash.cs
index
f448894
..
8049394
100644
(file)
--- a/
Novacoin/Hash.cs
+++ b/
Novacoin/Hash.cs
@@
-57,12
+57,7
@@
namespace Novacoin
public override string ToString()
{
- StringBuilder sb = new StringBuilder(hashSize * 2);
- foreach (byte b in _hashBytes)
- {
- sb.AppendFormat("{0:x2}", b);
- }
- return sb.ToString();
+ return Interop.ToHex(_hashBytes);
}
}
}