This commit is contained in:
@@ -412,7 +412,7 @@ int32_t NSPV_txextract(CTransaction &tx,uint8_t *data,int32_t datalen)
|
||||
memcpy(&rawdata[0],data,datalen);
|
||||
if ( DecodeHexTx(tx,HexStr(rawdata)) != 0 )
|
||||
{
|
||||
fprintf(stderr,"extracted %s\n",tx.GetHash().GetHex().c_str());
|
||||
//fprintf(stderr,"extracted %s\n",tx.GetHash().GetHex().c_str());
|
||||
return(0);
|
||||
}
|
||||
else return(-1);
|
||||
@@ -432,8 +432,8 @@ uint256 NSPV_opretextract(int32_t *heightp,uint256 *blockhashp,char *symbol,std:
|
||||
((uint8_t *)blockhashp)[i] = opret[i];
|
||||
for (i=0; i<32; i++)
|
||||
((uint8_t *)&desttxid)[i] = opret[4 + 32 + i];
|
||||
if ( *heightp != 2690 )
|
||||
fprintf(stderr," ntzht.%d %s <- txid.%s size.%d\n",*heightp,(*blockhashp).GetHex().c_str(),(txid).GetHex().c_str(),(int32_t)opret.size());
|
||||
if ( 0 && *heightp != 2690 )
|
||||
fprintf(stderr," ntzht.%d %s <- txid.%s size.%d\n",*heightp,(*blockhashp).GetHex().c_str(),(txid).GetHex().c_str(),(int32_t)opret.size());
|
||||
return(desttxid);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user