This commit is contained in:
@@ -523,7 +523,7 @@ int32_t MarmaraSignature(uint8_t *utxosig,CMutableTransaction &mtx)
|
|||||||
utxosig[i] = ptr[i];
|
utxosig[i] = ptr[i];
|
||||||
//fprintf(stderr,"%02x",ptr[i]);
|
//fprintf(stderr,"%02x",ptr[i]);
|
||||||
}
|
}
|
||||||
//fprintf(stderr," got signed rawtx.%s siglen.%d\n",rawtx.c_str(),siglen);
|
fprintf(stderr," got signed rawtx.%s siglen.%d\n",rawtx.c_str(),siglen);
|
||||||
return(siglen);
|
return(siglen);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -651,6 +651,7 @@ int32_t komodo_isPoS(CBlock *pblock,int32_t height)
|
|||||||
if ( ExtractDestination(pblock->vtx[n-1].vout[0].scriptPubKey,voutaddress) )
|
if ( ExtractDestination(pblock->vtx[n-1].vout[0].scriptPubKey,voutaddress) )
|
||||||
{
|
{
|
||||||
strcpy(voutaddr,CBitcoinAddress(voutaddress).ToString().c_str());
|
strcpy(voutaddr,CBitcoinAddress(voutaddress).ToString().c_str());
|
||||||
|
fprintf(stderr,"voutaddr.%s vs destaddr.%s\n",voutaddr,destaddr);
|
||||||
if ( pblock->vtx[n-1].vout[0].nValue == value && strcmp(destaddr,voutaddr) == 0 )
|
if ( pblock->vtx[n-1].vout[0].nValue == value && strcmp(destaddr,voutaddr) == 0 )
|
||||||
{
|
{
|
||||||
if ( ASSETCHAINS_MARMARA == 0 )
|
if ( ASSETCHAINS_MARMARA == 0 )
|
||||||
|
|||||||
Reference in New Issue
Block a user