debug prints

This commit is contained in:
blackjok3r
2018-12-06 12:54:01 +08:00
parent f2363105b7
commit 665d5446d1
2 changed files with 8 additions and 4 deletions

View File

@@ -7365,7 +7365,7 @@ UniValue getbalance64(const UniValue& params, bool fHelp)
if ( out.nDepth < 100 )
nValues2[segid] += nValue, total2 += nValue;
else nValues[segid] += nValue, total += nValue;
fprintf(stderr,"%s %.8f depth.%d segid.%d\n",(char *)CBitcoinAddress(address).ToString().c_str(),(double)nValue/COIN,(int32_t)out.nDepth,segid);
//fprintf(stderr,"%s %.8f depth.%d segid.%d\n",(char *)CBitcoinAddress(address).ToString().c_str(),(double)nValue/COIN,(int32_t)out.nDepth,segid);
} else fprintf(stderr,"no destination\n");
}
ret.push_back(Pair("mature",(double)total/COIN));