Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
use LastBlockIndex in show state (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
ixje authored and erikzhang committed Apr 5, 2019
1 parent 39912ed commit 03fa3f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neo-cli/Shell/MainService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1127,7 +1127,7 @@ private bool OnShowStateCommand(string[] args)
foreach (RemoteNode node in LocalNode.Singleton.GetRemoteNodes().Take(Console.WindowHeight - 2).ToArray())
{
WriteLineWithoutFlicker(
$" ip: {node.Remote.Address}\tport: {node.Remote.Port}\tlisten: {node.ListenerPort}\theight: {node.Version?.StartHeight}");
$" ip: {node.Remote.Address}\tport: {node.Remote.Port}\tlisten: {node.ListenerPort}\theight: {node.LastBlockIndex}");
linesWritten++;
}

Expand Down

0 comments on commit 03fa3f6

Please sign in to comment.