This commit is contained in:
@@ -2012,10 +2012,13 @@ int64_t komodo_checkcommission(CBlock *pblock,int32_t height)
|
|||||||
{
|
{
|
||||||
script = (uint8_t *)&pblock->vtx[0].vout[1].scriptPubKey[0];
|
script = (uint8_t *)&pblock->vtx[0].vout[1].scriptPubKey[0];
|
||||||
scriptlen = (int32_t)pblock->vtx[0].vout[1].scriptPubKey.size();
|
scriptlen = (int32_t)pblock->vtx[0].vout[1].scriptPubKey.size();
|
||||||
int32_t i;
|
if ( 0 )
|
||||||
for (i=0; i<scriptlen; i++)
|
{
|
||||||
fprintf(stderr,"%02x",script[i]);
|
int32_t i;
|
||||||
fprintf(stderr," vout[1] %.8f vs %.8f\n",(double)checktoshis/COIN,(double)pblock->vtx[0].vout[1].nValue/COIN);
|
for (i=0; i<scriptlen; i++)
|
||||||
|
fprintf(stderr,"%02x",script[i]);
|
||||||
|
fprintf(stderr," vout[1] %.8f vs %.8f\n",(double)checktoshis/COIN,(double)pblock->vtx[0].vout[1].nValue/COIN);
|
||||||
|
}
|
||||||
if ( ASSETCHAINS_SCRIPTPUB.size() > 1 )
|
if ( ASSETCHAINS_SCRIPTPUB.size() > 1 )
|
||||||
{
|
{
|
||||||
if ( ASSETCHAINS_SCRIPTPUB.size()/2 == scriptlen && scriptlen < sizeof(scripthex) )
|
if ( ASSETCHAINS_SCRIPTPUB.size()/2 == scriptlen && scriptlen < sizeof(scripthex) )
|
||||||
@@ -2031,7 +2034,7 @@ int64_t komodo_checkcommission(CBlock *pblock,int32_t height)
|
|||||||
matched = 25;
|
matched = 25;
|
||||||
if ( matched == 0 )
|
if ( matched == 0 )
|
||||||
{
|
{
|
||||||
if ( ASSETCHAINS_SCRIPTPUB.size() > 1 )
|
if ( 0 && ASSETCHAINS_SCRIPTPUB.size() > 1 )
|
||||||
{
|
{
|
||||||
int32_t i;
|
int32_t i;
|
||||||
for (i=0; i<ASSETCHAINS_SCRIPTPUB.size(); i++)
|
for (i=0; i<ASSETCHAINS_SCRIPTPUB.size(); i++)
|
||||||
|
|||||||
Reference in New Issue
Block a user