Skip to content

Past stakes shouldn't be printed as "Active" with nucypher stake list #1418

@cygnusv

Description

@cygnusv

E.g.:

======================================= Active Stakes =========================================

| ~ | Staker | Worker | # | Value    | Duration     | Enactment          
|   | ------ | ------ | - | -------- | ------------ | ----------------------------------------- 
| 0 | 0x240e | 0x5d26 | 0 | 15000 NU | 31 periods . | Sep 03 11:04:10 CEST - Oct 04 11:04:10 CEST 
| 1 | 0x240e | 0x5d26 | 1 | 15000 NU | 360 periods  | Oct 17 11:04:10 CEST - Oct 11 11:04:10 CEST  

In this example, stake 0 already ended as for october 16th, but it's still printed as active.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIThis effects the nucypher CLIux designUser experience enhancements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions