From 23054bdbb774546f53385a54a0b161b20c0fccb9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Felix=20D=C3=B6rre?= Date: Fri, 6 May 2016 13:09:05 +0200 Subject: [PATCH] Upd: nucleus assurance does only maxpoints f2f-points --- src/org/cacert/gigi/util/Notary.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/cacert/gigi/util/Notary.java b/src/org/cacert/gigi/util/Notary.java index c3a889ab..7cb15aad 100644 --- a/src/org/cacert/gigi/util/Notary.java +++ b/src/org/cacert/gigi/util/Notary.java @@ -197,7 +197,7 @@ public class Notary { private static void assureNucleus(User assurer, User assuree, int awarded, String location, String date) throws GigiApiException { may(assurer, assuree, AssuranceType.NUCLEUS); // Do up to 35 points as f2f - int f2fPoints = Math.min(35, awarded); + int f2fPoints = Math.min(assurer.getMaxAssurePoints(), awarded); assureF2F(assurer, assuree, f2fPoints, location, date); awarded -= f2fPoints; -- 2.39.2