3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-07 06:44:16 +00:00

Log full tx when considered risky.

This commit is contained in:
Mike Hearn 2014-10-23 17:12:14 +02:00
parent fbccfbbe0e
commit 47cdf5f70e

View File

@ -1473,7 +1473,7 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha
RiskAnalysis analysis = riskAnalyzer.create(this, tx, dependencies);
RiskAnalysis.Result result = analysis.analyze();
if (result != RiskAnalysis.Result.OK) {
log.warn("Pending transaction {} was considered risky: {}", tx.getHashAsString(), analysis);
log.warn("Pending transaction was considered risky: {}\n{}", analysis, tx);
return true;
}
return false;