fix prints

This commit is contained in:
blackjok3r
2018-10-29 12:17:27 +08:00
parent e2408f31c3
commit f72bf9aaf0

View File

@@ -698,13 +698,13 @@ int64_t DicePlanFunds(uint64_t &entropyval,uint256 &entropytxid,uint64_t refsbit
{
if ( refsbits == sbits && (nValue= IsDicevout(cp,tx,vout,refsbits,reffundingtxid)) > 10000 && (funcid == 'F' || funcid == 'E' || funcid == 'W' || funcid == 'L' || funcid == 'T') )
{
fprintf(stderr,"%s.(%c %.8f) ",uint256_str(str,txid),funcid,(double)nValue/COIN);
//fprintf(stderr,"%s.(%c %.8f) ",uint256_str(str,txid),funcid,(double)nValue/COIN);
if ( funcid != 'F' && funcid != 'T' )
n++;
totalinputs += nValue;
if ( first == 0 && (funcid == 'E' || funcid == 'W' || funcid == 'L') )
{
fprintf(stderr,"check first\n");
//fprintf(stderr,"check first\n");
if ( fundingPubKey == tx.vout[1].scriptPubKey )
{
if ( funcid == 'E' && fundingtxid != tx.vin[0].prevout.hash )