Browse Source

Test

pull/4/head
jl777 6 years ago
parent
commit
698d25f758
  1. 2
      src/cc/CCutils.cpp

2
src/cc/CCutils.cpp

@ -101,7 +101,7 @@ bool ConstrainVout(CTxOut vout,int32_t CCflag,char *cmpaddr,uint64_t nValue)
fprintf(stderr,"constrain vout error addr %s vs %s\n",cmpaddr!=0?cmpaddr:"",destaddr!=0?destaddr:"");
return(false);
}
else if ( (nValue == 0 && vout.nValue < 10000) || (nValue != 0 && nValue != vout.nValue) )
else if ( nValue != 0 && nValue != vout.nValue ) //(nValue == 0 && vout.nValue < 10000) || (
{
fprintf(stderr,"constrain vout error nValue %.8f vs %.8f\n",(double)nValue/COIN,(double)vout.nValue/COIN);
return(false);

Loading…
Cancel
Save