This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user