]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/util/Notary.java
Upd: nucleus assurance does only maxpoints f2f-points
[gigi.git] / src / org / cacert / gigi / util / Notary.java
index c3a889ab4ac12a6ed5a3ce763a002c23df800083..7cb15aad203dc14619143dfd442b238221c28b62 100644 (file)
@@ -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;