Skip to content

Commit

Permalink
fix: removed threshold check from get last datacap allocation. Bump t…
Browse files Browse the repository at this point in the history
…o 1.0.1
  • Loading branch information
AlexMCon committed Mar 13, 2024
1 parent 5887ab9 commit ece2e6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "filecoin-registry",
"version": "0.1.0",
"version": "1.0.1",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
6 changes: 1 addition & 5 deletions src/lib/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,7 @@ export const getLastDatacapAllocation = (
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 ece2e6c

Please sign in to comment.