Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
huancheng-trili committed Jan 13, 2025
1 parent b7a44fb commit 93f85b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rpc/delegates.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ type Delegate struct {
OwnDelegated uint64 `json:"own_delegated,string"`
ExternalStaked uint64 `json:"external_staked,string"`
ExternalDelegated uint64 `json:"external_delegated,string"`
TotalUnstakedPerCycle struct {
TotalUnstakedPerCycle []struct {
Cycle int64 `json:"cycle"`
Deposit uint64 `json:"deposit,string"`
} `json:"total_unstaked_per_cycle"`
Expand All @@ -107,7 +107,7 @@ type Delegate struct {
EstimatedSharedPendingSlashedAmount uint64 `json:"estimated_shared_pending_slashed_amount,string"`
CurrentVotingPower uint64 `json:"current_voting_power,string"`
VotingInfo struct {
VotingPower int64 `json:"voting_power"`
VotingPower int64 `json:"voting_power,string"`
CurrentBallot Vote `json:"current_ballot"`
CurrentProposals []tezos.ProtocolHash `json:"current_proposals"`
RemainingProposals int64 `json:"remaining_proposals"`
Expand Down

0 comments on commit 93f85b9

Please sign in to comment.