Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions cmd/network/show.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ func prettyPrintEntityNodes(ctx context.Context, npa *common.NPASelection, staki
ID: node,
}

// TODO: Fix eager termination of pretty printing and handle the case
// where node descriptor has already expired, but node status still
// returns as debonding period has not yet passed.
// See: https://github.com/oasisprotocol/cli/issues/707.
nodeStatus, err := registryConn.GetNodeStatus(ctx, idQuery2)
if err != nil {
fmt.Println(" Node is not active")
Expand Down
2 changes: 1 addition & 1 deletion examples/network-show/id-entity.in
Original file line number Diff line number Diff line change
@@ -1 +1 @@
oasis network show xQN6ffLSdc51EfEQ2BzltK1iWYAw6Y1CkBAbFzlhhEQ=
oasis network show UjRo9HS8ho/tkzQZyJ7AD//CqOuH0YvXILKTpmfD3dg=
Loading