fix rounding error for signature count

This commit is contained in:
QuickMythril 2025-01-25 06:13:56 -05:00
parent 4b7f811785
commit d0dda6d306

View File

@ -1347,7 +1347,7 @@ const checkAndDisplayInviteButton = async (adminYes, creator, cardIdentifier) =>
let minAdminCount = 9
if (isBlockPassed) {
minAdminCount = Math.round(minterAdmins.length * 0.4)
minAdminCount = Math.ceil(minterAdmins.length * 0.4)
console.warn(`Using 40% => ${minAdminCount}`)
}