Novacoin address generation
[NovacoinLibrary.git] / Novacoin / CScriptID.cs
1 \feffusing System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 using System.Threading.Tasks;
6
7 namespace Novacoin
8 {
9     public class CScriptID : Hash160
10     {
11         public CScriptID(Hash160 scriptHash)
12         {
13             _hashBytes = scriptHash.hashBytes;
14         }
15
16         public override string ToString()
17         {
18             return (new CNovacoinAddress(this)).ToString();
19         }
20
21     }
22 }