Merge pull request #6197 from jmacxx/fix_issue_6196

Bugfix: Signed account must show signed age.
This commit is contained in:
Christoph Atteneder 2022-05-11 21:10:56 +02:00 committed by GitHub
commit a1eedafce7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,7 +93,7 @@ public class DisplayUtils {
signAge = accountAgeWitnessService.getWitnessSignAge(aaw.get(), new Date());
}
if (signAge > -1) {
description = Res.get("peerInfo.age.chargeBackRisk") + ": " + formatAccountAge(accountAge);
description = Res.get("peerInfo.age.chargeBackRisk") + ": " + formatAccountAge(signAge);
} else if (accountAge > -1) {
description = Res.get("peerInfoIcon.tooltip.age", formatAccountAge(accountAge));
if (PaymentMethod.hasChargebackRisk(paymentMethod)) {