Skip to content

Commit

Permalink
fix: Change graphtype of validatorPower
Browse files Browse the repository at this point in the history
  • Loading branch information
s2quake committed Dec 3, 2024
1 parent c2a71cd commit cbd5352
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/Libplanet.Explorer/GraphTypes/VoteType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ public VoteType()
"ValidatorPublicKey",
description: "Public key of the validator which is subject of the vote.",
resolve: ctx => ctx.Source.ValidatorPublicKey);
Field<BigIntGraphType>(
Field<StringGraphType>(
"ValidatorPower",
description: "Power of the validator which is subject of the vote.",
resolve: ctx => ctx.Source.ValidatorPower);
resolve: ctx => ctx.Source.ValidatorPower?.ToString());
Field<NonNullGraphType<VoteFlagType>>(
"Flag",
description: "Flag of the vote",
Expand Down

0 comments on commit cbd5352

Please sign in to comment.