This commit is contained in:
jl777
2018-09-03 03:08:47 -11:00
parent 26ca942ec5
commit aa2aaf5173

View File

@@ -119,13 +119,13 @@ std::string FinalizeCCTx(uint64_t CCmask,struct CCcontract_info *cp,CMutableTran
cond = othercond;
//fprintf(stderr,"unspendable CC addr.(%s)\n",unspendable);
}
else if ( strcmp(destaddr,cp->unspendable2) == 0 )
else if ( strcmp(destaddr,cp->unspendableaddr2) == 0 )
{
fprintf(stderr,"matched %s unspendable2!\n",cp->unspendable2);
fprintf(stderr,"matched %s unspendable2!\n",cp->unspendableaddr2);
privkey = cp->unspendablepriv2;
if ( othercond2 == 0 )
otherconds = MakeCCcond1(cp->evalcode,cp->unspendablepk2);
cond = othercond;
othercond2 = MakeCCcond1(cp->evalcode,cp->unspendablepk2);
cond = othercond2;
}
else
{