Skip to content

Commit

Permalink
chore: add validator power field to Vote.ToString()
Browse files Browse the repository at this point in the history
  • Loading branch information
limebell committed Jun 10, 2024
1 parent d7e9f52 commit 6d6c4c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Libplanet.Types/Consensus/Vote.cs
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ public override string ToString()
var dict = new Dictionary<string, object>
{
{ "validator_public_key", ValidatorPublicKey.ToString() },
{ "validator_power", ValidatorPower.ToString() },
{ "vote_flag", Flag.ToString() },
{ "block_hash", BlockHash.ToString() },
{ "height", Height },
Expand Down

0 comments on commit 6d6c4c9

Please sign in to comment.