]> Git Repo - VerusCoin.git/commitdiff
test
authorjl777 <[email protected]>
Sun, 30 Oct 2016 12:48:40 +0000 (09:48 -0300)
committerjl777 <[email protected]>
Sun, 30 Oct 2016 12:48:40 +0000 (09:48 -0300)
src/komodo_gateway.h

index 3dfc3daca585d7aad2f182919169668a866588d0..3a5694196f86ddcfb12e49e6a556bc53b4c0bf15 100644 (file)
@@ -152,6 +152,7 @@ int32_t komodo_check_deposit(const CBlock& block) // verify above block is valid
     int32_t i,n,scriptlen,num,iter,matchflag; uint256 txids[64]; uint8_t shortflag; char base[16]; uint16_t vouts[64]; uint8_t *script; queue_t *Q; struct pax_transaction *ptr; struct queueitem *item;
     n = block.vtx[0].vout.size();
     script = (uint8_t *)block.vtx[0].vout[n-1].scriptPubKey.data();
+    printf("checkdeposit n.%d [%02x]\n",n,script[0]);
     if ( n > 2 && script[0] == 0x6a )
     {
         scriptlen = block.vtx[0].vout[n-1].scriptPubKey.size();
@@ -191,6 +192,7 @@ int32_t komodo_check_deposit(const CBlock& block) // verify above block is valid
                 }
             }
         }
+        printf("scriptlen.%d num.%d\n",scriptlen,num);
     }
     return(0);
 }
This page took 0.026281 seconds and 4 git commands to generate.