This commit is contained in:
jl777
2019-02-11 15:15:51 -11:00
parent 7bd0acd56c
commit ad65f834dd
2 changed files with 2 additions and 2 deletions

View File

@@ -191,7 +191,7 @@ std::string FinalizeCCTx(uint64_t CCmask,struct CCcontract_info *cp,CMutableTran
// check if this is the 2nd additional evalcode + 'unspendable' cc addr:
else if ( strcmp(destaddr, cp->unspendableaddr2) == 0)
{
//fprintf(stderr,"FinalizeCCTx() matched %s unspendable2!\n",cp->unspendableaddr2);
fprintf(stderr,"FinalizeCCTx() matched %s unspendable2!\n",cp->unspendableaddr2);
privkey = cp->unspendablepriv2;
if( othercond2 == 0 )
othercond2 = MakeCCcond1(cp->unspendableEvalcode2, cp->unspendablepk2);

View File

@@ -753,7 +753,7 @@ UniValue rogue_register(uint64_t txfee,struct CCcontract_info *cp,cJSON *params)
CPubKey unspPk = GetUnspendable(cpTokens, tokenpriv);
GetCCaddress(cpTokens, unspendableTokenAddr, unspPk);
CCaddr2set(cpTokens, EVAL_TOKENS, unspPk, tokenpriv, unspendableTokenAddr);
fprintf(stderr,"destaddr.(%s)\n",destaddr);
fprintf(stderr,"destaddr.(%s)\n",unspendableTokenAddr);
}
mtx.vout.push_back(MakeCC1of2vout(cp->evalcode,buyin + inputsum - txfee,roguepk,mypk));
GetCCaddress1of2(cp,destaddr,roguepk,roguepk);