Skip to content

Commit ece2e6c

Browse files
committed
fix: removed threshold check from get last datacap allocation. Bump to 1.0.1
1 parent 5887ab9 commit ece2e6c

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "filecoin-registry",
3-
"version": "0.1.0",
3+
"version": "1.0.1",
44
"private": true,
55
"scripts": {
66
"dev": "next dev",

src/lib/utils.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,7 @@ export const getLastDatacapAllocation = (
5151
allocation.ID === application.Lifecycle['Active Request ID'],
5252
)
5353

54-
if (
55-
lastAllocation === undefined ||
56-
lastAllocation.Active ||
57-
lastAllocation.Signers.length !== 2
58-
) {
54+
if (lastAllocation === undefined || lastAllocation.Active) {
5955
return undefined
6056
}
6157

0 commit comments

Comments
 (0)