Skip to content

Commit

Permalink
Merge pull request #695 from rocket-pool/v2-snapshot-field-updated
Browse files Browse the repository at this point in the history
[V2] Snapshot field updated from string -> int64
  • Loading branch information
0xfornax authored Nov 1, 2024
2 parents 5e765cf + 332a8d8 commit 46ad411
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rocketpool-daemon/common/voting/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ type snapshotProposal struct {
Start int64 `json:"start"`
End int64 `json:"end"`
State string `json:"state"`
Snapshot string `json:"snapshot"`
Snapshot int64 `json:"snapshot"`
Author string `json:"author"`
Choices []string `json:"choices"`
Scores []float64 `json:"scores"`
Expand Down
2 changes: 1 addition & 1 deletion shared/types/voting.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type SnapshotProposal struct {
Start time.Time `json:"start"`
End time.Time `json:"end"`
State ProposalState `json:"state"`
Snapshot string `json:"snapshot"`
Snapshot int64 `json:"snapshot"`
Author string `json:"author"`
Choices []string `json:"choices"`
Scores []float64 `json:"scores"`
Expand Down

0 comments on commit 46ad411

Please sign in to comment.