Fix bug in checking transaction group-approval threshold

This commit is contained in:
catbref 2019-05-28 17:23:10 +01:00
parent 8b949dc1a1
commit 0cb54abb79

View File

@ -62,7 +62,7 @@ public class Group {
if (!this.isPercentage)
return currentApprovals >= this.value;
return currentApprovals >= (totalAdmins * 100 / this.value);
return currentApprovals >= (totalAdmins * this.value / 100);
}
/**