corr tokenaddr name
This commit is contained in:
@@ -518,7 +518,7 @@ int64_t AddTokenCCInputs(struct CCcontract_info *cp, CMutableTransaction &mtx, C
|
|||||||
if (GetTransaction(txid, vintx, hashBlock, false) != 0)
|
if (GetTransaction(txid, vintx, hashBlock, false) != 0)
|
||||||
{
|
{
|
||||||
Getscriptaddress(destaddr, vintx.vout[vout].scriptPubKey);
|
Getscriptaddress(destaddr, vintx.vout[vout].scriptPubKey);
|
||||||
if (strcmp(destaddr, coinaddr) != 0 && strcmp(destaddr, cp->unspendableCCaddr) != 0 && strcmp(destaddr, cp->unspendableaddr2) != 0)
|
if (strcmp(destaddr, tokenaddr) != 0 && strcmp(destaddr, cp->unspendableCCaddr) != 0 && strcmp(destaddr, cp->unspendableaddr2) != 0)
|
||||||
continue;
|
continue;
|
||||||
fprintf(stderr, "AddTokenCCInputs() check destaddress=%s vout amount=%.8f\n", destaddr, (double)vintx.vout[vout].nValue / COIN);
|
fprintf(stderr, "AddTokenCCInputs() check destaddress=%s vout amount=%.8f\n", destaddr, (double)vintx.vout[vout].nValue / COIN);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user