fix rounding error for signature count
This commit is contained in:
parent
4b7f811785
commit
d0dda6d306
@ -1347,7 +1347,7 @@ const checkAndDisplayInviteButton = async (adminYes, creator, cardIdentifier) =>
|
|||||||
|
|
||||||
let minAdminCount = 9
|
let minAdminCount = 9
|
||||||
if (isBlockPassed) {
|
if (isBlockPassed) {
|
||||||
minAdminCount = Math.round(minterAdmins.length * 0.4)
|
minAdminCount = Math.ceil(minterAdmins.length * 0.4)
|
||||||
console.warn(`Using 40% => ${minAdminCount}`)
|
console.warn(`Using 40% => ${minAdminCount}`)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user