CodeContractsReferenceAssembly=Build, fix typo in method name
authorCryptoManiac <balthazar@yandex.ru>
Thu, 27 Aug 2015 19:54:04 +0000 (22:54 +0300)
committerCryptoManiac <balthazar@yandex.ru>
Thu, 27 Aug 2015 19:54:04 +0000 (22:54 +0300)
Novacoin/CScript.cs
Novacoin/Novacoin.csproj
Novacoin/ScriptCode.cs
NovacoinTest/NovacoinTest.csproj

index 2762f6c..902e3b2 100644 (file)
@@ -52,7 +52,7 @@ namespace Novacoin
         /// Return a new instance of ByteQueue object for current code bytes
         /// </summary>
         /// <returns></returns>
-        public ByteQueue GetByteQUeue()
+        public ByteQueue GetByteQueue()
         {
              return new ByteQueue(codeBytes);
         }
@@ -401,7 +401,7 @@ namespace Novacoin
             // This is a pay-to-script-hash scriptPubKey;
             // get the last item that the scriptSig
             // pushes onto the stack:
-            ByteQueue wScriptSig = scriptSig.GetByteQUeue();
+            ByteQueue wScriptSig = scriptSig.GetByteQueue();
 
             instruction opcode; // Current instruction
             byte[] pushArgs; // OP_PUSHDATAn argument
index 57f12c6..ab3512e 100644 (file)
@@ -61,7 +61,7 @@
     <CodeContractsFailBuildOnWarnings>False</CodeContractsFailBuildOnWarnings>
     <CodeContractsBeingOptimisticOnExternal>True</CodeContractsBeingOptimisticOnExternal>
     <CodeContractsRuntimeCheckingLevel>Full</CodeContractsRuntimeCheckingLevel>
-    <CodeContractsReferenceAssembly>%28none%29</CodeContractsReferenceAssembly>
+    <CodeContractsReferenceAssembly>Build</CodeContractsReferenceAssembly>
     <CodeContractsAnalysisWarningLevel>0</CodeContractsAnalysisWarningLevel>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
index 7a0f105..458445a 100644 (file)
@@ -551,8 +551,8 @@ namespace Novacoin
                 instruction opcode1, opcode2;
 
                 // Compare
-                var bq1 = script1.GetByteQUeue();
-                var bq2 = script2.GetByteQUeue();
+                var bq1 = script1.GetByteQueue();
+                var bq2 = script2.GetByteQueue();
 
                 byte[] args1, args2;
 
@@ -863,7 +863,7 @@ namespace Novacoin
             var falseBytes = new byte[0];
             var trueBytes = new byte[] { 0x01 };
 
-            var CodeQueue = script.GetByteQUeue();
+            var CodeQueue = script.GetByteQueue();
             var altStack = new List<byte[]>();
 
             try
index 1ad2fad..a8ba155 100644 (file)
@@ -64,7 +64,7 @@
     <CodeContractsFailBuildOnWarnings>False</CodeContractsFailBuildOnWarnings>
     <CodeContractsBeingOptimisticOnExternal>True</CodeContractsBeingOptimisticOnExternal>
     <CodeContractsRuntimeCheckingLevel>Full</CodeContractsRuntimeCheckingLevel>
-    <CodeContractsReferenceAssembly>%28none%29</CodeContractsReferenceAssembly>
+    <CodeContractsReferenceAssembly>Build</CodeContractsReferenceAssembly>
     <CodeContractsAnalysisWarningLevel>0</CodeContractsAnalysisWarningLevel>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">