Exemplo n.º 1
0
        public int CompareTo(Contract other)
        {
            if (ReferenceEquals(this, other))
            {
                return(0);
            }

            return(ScriptHash.ToHexString().CompareTo(other.ScriptHash.ToHexString()));
        }
Exemplo n.º 2
0
 /// <summary>
 /// String representation
 /// </summary>
 public override string ToString()
 {
     return($"[{ScriptHash.ToHexString()}-{InstructionPointer:x6}] {NextInstruction}");
 }