This commit is contained in:
jl777
2018-07-22 13:28:14 -11:00
parent 37e67a2ad6
commit 939225fa74
2 changed files with 2 additions and 2 deletions

View File

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