Skip to content

Commit

Permalink
Snapshot field updated from string -> int64
Browse files Browse the repository at this point in the history
  • Loading branch information
0xfornax committed Oct 31, 2024
1 parent 5e765cf commit 332a8d8
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 332a8d8

Please sign in to comment.