feat: CLI: add expiration to claim list (#11671)
* add expiration to claim list * fix expired threshold
This commit is contained in:
parent
41793a88d3
commit
e84a61cc7d
@ -379,7 +379,7 @@ var filplusListClaimsCmd = &cli.Command{
|
||||
)
|
||||
|
||||
for claimId, claim := range claimsMap {
|
||||
if ts.Height() > claim.TermMax || !cctx.IsSet("expired") {
|
||||
if ts.Height() > claim.TermMax+claim.TermStart || !cctx.IsSet("expired") {
|
||||
tw.Write(map[string]interface{}{
|
||||
"ID": claimId,
|
||||
"Provider": claim.Provider,
|
||||
|
Loading…
Reference in New Issue
Block a user