try this
This commit is contained in:
@@ -1108,6 +1108,7 @@ UniValue PaymentsCreate(struct CCcontract_info *cp,char *jsonstr)
|
|||||||
for (i=0; i<txidoprets.size(); i++)
|
for (i=0; i<txidoprets.size(); i++)
|
||||||
{
|
{
|
||||||
std::vector<uint8_t> scriptPubKey,opret; int64_t allocation;
|
std::vector<uint8_t> scriptPubKey,opret; int64_t allocation;
|
||||||
|
fprintf(stderr, "txid.%s\n",txidoprets[i].GetHex().c_str());
|
||||||
if ( myGetTransaction(txidoprets[i],tx,hashBlock) != 0 && tx.vout.size() > 1 && DecodePaymentsTxidOpRet(tx.vout[tx.vout.size()-1].scriptPubKey,allocation,scriptPubKey,opret) == 'T' )
|
if ( myGetTransaction(txidoprets[i],tx,hashBlock) != 0 && tx.vout.size() > 1 && DecodePaymentsTxidOpRet(tx.vout[tx.vout.size()-1].scriptPubKey,allocation,scriptPubKey,opret) == 'T' )
|
||||||
{
|
{
|
||||||
totalallocations += allocation;
|
totalallocations += allocation;
|
||||||
|
|||||||
Reference in New Issue
Block a user