Skip to content

Commit

Permalink
Adds votesExcluded to Proposal and PaymentRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
dantudor committed Sep 23, 2021
1 parent a0edb98 commit b1271e0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions pkg/explorer/cfund_payment_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ type PaymentRequest struct {
Height uint64 `json:"height"`
UpdatedOnBlock uint64 `json:"updatedOnBlock"`

VotesYes uint `json:"votesYes"`
VotesAbs uint `json:"votesAbs"`
VotesNo uint `json:"votesNo"`
VotingCycle uint `json:"votingCycle"`
VotesYes uint `json:"votesYes"`
VotesAbs uint `json:"votesAbs"`
VotesNo uint `json:"votesNo"`
VotesExcluded uint `json:"votesExcluded"`
VotingCycle uint `json:"votingCycle"`
}

func (p PaymentRequest) Slug() string {
Expand Down
9 changes: 5 additions & 4 deletions pkg/explorer/cfund_proposal.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@ type Proposal struct {
Height uint64 `json:"height"`
UpdatedOnBlock uint64 `json:"updatedOnBlock"`

VotesYes uint `json:"votesYes"`
VotesAbs uint `json:"votesAbs"`
VotesNo uint `json:"votesNo"`
VotingCycle uint `json:"votingCycle"`
VotesYes uint `json:"votesYes"`
VotesAbs uint `json:"votesAbs"`
VotesNo uint `json:"votesNo"`
VotesExcluded uint `json:"votesExcluded"`
VotingCycle uint `json:"votingCycle"`
}

func (p Proposal) Slug() string {
Expand Down

0 comments on commit b1271e0

Please sign in to comment.