From f5d793ed2ef0f5c8bb62f8d38cc5eb4054b066ed Mon Sep 17 00:00:00 2001 From: CryptoManiac Date: Tue, 18 Aug 2015 21:20:37 +0300 Subject: [PATCH] We don't need this --- Novacoin/CNovacoinAddress.cs | 10 +--------- 1 files changed, 1 insertions(+), 9 deletions(-) diff --git a/Novacoin/CNovacoinAddress.cs b/Novacoin/CNovacoinAddress.cs index 5ff3d28..3f9c0d9 100644 --- a/Novacoin/CNovacoinAddress.cs +++ b/Novacoin/CNovacoinAddress.cs @@ -37,14 +37,6 @@ namespace Novacoin addrData = new List(scriptID.hashBytes); } - public static byte[] ConcatAddress(byte[] RipeHash, byte[] Checksum) - { - byte[] ret = new byte[RipeHash.Length + 4]; - Array.Copy(RipeHash, ret, RipeHash.Length); - Array.Copy(Checksum, 0, ret, RipeHash.Length, 4); - return ret; - } - public bool IsValid() { int nExpectedSize = 20; @@ -79,7 +71,7 @@ namespace Novacoin r.Add(nVersion); r.AddRange(addrData); - r.AddRange(checkSum); + r.AddRange(checkSum); // First four bytes of SHA256 hash return AddressTools.Base58Encode(r.ToArray()); } -- 1.7.1