forked from Qortal/qortal
Fix bug in checking transaction group-approval threshold
This commit is contained in:
parent
8b949dc1a1
commit
0cb54abb79
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user