Skip to content

Commit 9ce0a0e

Browse files
committed
Adjust ListClaimsCmd
Adjust ListClaimsCmd to filter out the expired claims. Ref: #11699 (comment)
1 parent 358a3f2 commit 9ce0a0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/filplus.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ var filplusListClaimsCmd = &cli.Command{
427427
var claimList []map[string]interface{}
428428

429429
for key, val := range claims {
430-
if tsHeight > val.TermMax || !expired {
430+
if tsHeight > val.TermStart+val.TermMax || !expired {
431431
claim := map[string]interface{}{
432432
claimID: key,
433433
provider: val.Provider,

0 commit comments

Comments
 (0)