CScript.SetNullDestination
authorCryptoManiac <balthazar@yandex.ru>
Thu, 20 Aug 2015 20:14:47 +0000 (23:14 +0300)
committerCryptoManiac <balthazar@yandex.ru>
Thu, 20 Aug 2015 20:14:47 +0000 (23:14 +0300)
Novacoin/CScript.cs

index c4f7f91..044f8b9 100644 (file)
@@ -373,6 +373,14 @@ namespace Novacoin
             AddOp(opcodetype.OP_EQUAL);
         }
 
+        /// <summary>
+        /// Reset script code buffer.
+        /// </summary>
+        public void SetNullDestination()
+        {
+            codeBytes.Clear();
+        }
+
         public void SetMultiSig(int nRequired, IEnumerable<CPubKey> keys)
         {
             codeBytes.Clear();