/// New items are added in this format:
/// hash_length_byte hash_bytes
/// </summary>
- /// <param name="hash">Hash160 instance</param>
+ /// <param name="hash">uint160 instance</param>
public void AddHash(uint160 hash)
{
codeBytes.Add((byte)hash.Size);
/// New items are added in this format:
/// hash_length_byte hash_bytes
/// </summary>
- /// <param name="hash">Hash256 instance</param>
+ /// <param name="hash">uint256 instance</param>
public void AddHash(uint256 hash)
{
codeBytes.Add((byte)hash.Size);
public CScriptID ScriptID
{
- get { return new CScriptID(Hash160.Compute160(codeBytes.ToArray())); }
+ get { return new CScriptID(CryptoUtils.ComputeHash160(codeBytes.ToArray())); }
}
/// <summary>