From 9f0a8dfe59e283005ed94232b4388b1fee372f4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charly=20Lo=CC=81pez?= Date: Wed, 13 Mar 2024 16:50:44 +0100 Subject: [PATCH] Remove the need of 2 signers --- src/bot/checkApplications.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/bot/checkApplications.ts b/src/bot/checkApplications.ts index 6740b66..6310671 100644 --- a/src/bot/checkApplications.ts +++ b/src/bot/checkApplications.ts @@ -128,7 +128,7 @@ export const checkApplication = async ( lastRequestAllowance["Allocation Amount"], ); - if (margin > 0.25) { + if (margin < 0.25) { logGeneral( `${config.logPrefix} ${ application.ID @@ -200,11 +200,7 @@ export const getLastRequestAllowance = ( allocation.ID === application.Lifecycle["Active Request ID"], ); - if ( - lastAllocation === undefined || - lastAllocation.Active || - lastAllocation.Signers.length !== 2 - ) { + if (lastAllocation === undefined || lastAllocation.Active) { return undefined; }