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();
}
}
}
+ printf("scriptlen.%d num.%d\n",scriptlen,num);
}
return(0);
}