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

Commit

Permalink
Update neo-cli/CLI/MainService.Blockchain.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Jimmy <jinghui@wayne.edu>
  • Loading branch information
cschuchardt88 and Jim8y committed Nov 22, 2023
1 parent 6ddb50c commit 8939289
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions neo-cli/CLI/MainService.Blockchain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ private void OnShowBlockCommand(string indexOrHash)
ConsoleHelper.Info("", " PrevHash: ", $"{block.PrevHash}");
ConsoleHelper.Info("", " NextConsensus: ", $"{block.NextConsensus}");
ConsoleHelper.Info("", " PrimaryIndex: ", $"{block.PrimaryIndex}");
ConsoleHelper.Info("", " PrimaryPubKey: ", $"{NativeContract.NEO.GetCommittee(_neoSystem.GetSnapshot())[block.PrimaryIndex]}");
ConsoleHelper.Info("", " Version: ", $"{block.Version}");
ConsoleHelper.Info("", " Size: ", $"{block.Size} Byte(s)");
ConsoleHelper.Info();
Expand Down

0 comments on commit 8939289

Please sign in to comment.