From ece2e6ccc613f700b7d0e09f44c1f61f0bd56d3d Mon Sep 17 00:00:00 2001 From: Alexandru-Marian Constantin Date: Wed, 13 Mar 2024 18:13:58 +0200 Subject: [PATCH] fix: removed threshold check from get last datacap allocation. Bump to 1.0.1 --- package.json | 2 +- src/lib/utils.ts | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 8d80dd6..0920a7d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "filecoin-registry", - "version": "0.1.0", + "version": "1.0.1", "private": true, "scripts": { "dev": "next dev", diff --git a/src/lib/utils.ts b/src/lib/utils.ts index 5c9d001..23e8c01 100644 --- a/src/lib/utils.ts +++ b/src/lib/utils.ts @@ -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 }