Skip to content

Commit

Permalink
Remove the need of 2 signers
Browse files Browse the repository at this point in the history
  • Loading branch information
charlykeyko committed Mar 13, 2024
1 parent 9a4ce91 commit 9f0a8df
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/bot/checkApplications.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export const checkApplication = async (
lastRequestAllowance["Allocation Amount"],
);

if (margin > 0.25) {
if (margin < 0.25) {
logGeneral(
`${config.logPrefix} ${
application.ID
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit 9f0a8df

Please sign in to comment.