]> Git Repo - VerusCoin.git/commitdiff
Height 1 exclusion -ac_pubkey
authorjl777 <[email protected]>
Wed, 30 May 2018 19:34:47 +0000 (08:34 -1100)
committerjl777 <[email protected]>
Wed, 30 May 2018 19:34:47 +0000 (08:34 -1100)
src/komodo_bitcoind.h

index b48c404421e253070a4c78f26a6ff32d3319ba11..5b19dfb6fc28d9bd1f75a36d09cf418c49723449 100644 (file)
@@ -1364,8 +1364,11 @@ int32_t komodo_checkPOW(int32_t slowflag,CBlock *pblock,int32_t height)
             if ( script[0] != 33 || script[34] != OP_CHECKSIG || memcmp(script+1,ASSETCHAINS_OVERRIDE_PUBKEY33,33) != 0 )
                 return(-1);
         }
-        if ( komodo_checkcommission(pblock,height) < 0 )
-            return(-1);
+        else
+        {
+            if ( komodo_checkcommission(pblock,height) < 0 )
+                return(-1);
+        }
     }
     //fprintf(stderr,"komodo_checkPOW possible.%d slowflag.%d ht.%d notaryid.%d failed.%d\n",possible,slowflag,height,notaryid,failed);
     if ( failed != 0 && possible == 0 && notaryid < 0 )
This page took 0.027542 seconds and 4 git commands to generate.