Skip to content

Commit fb05e16

Browse files
authored
Update ranges.go (#1852)
Add yaml tags Signed-off-by: Noah Kreiger <[email protected]>
1 parent 64c2276 commit fb05e16

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/sharding/ranges.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ type LogRanges struct {
3939
type Ranges []LogRange
4040

4141
type LogRange struct {
42-
TreeID int64 `json:"treeID"`
43-
TreeLength int64 `json:"treeLength"`
44-
EncodedPublicKey string `json:"encodedPublicKey"`
42+
TreeID int64 `json:"treeID" yaml:"treeID"`
43+
TreeLength int64 `json:"treeLength" yaml:"treeLength"`
44+
EncodedPublicKey string `json:"encodedPublicKey" yaml:"encodedPublicKey"`
4545
decodedPublicKey string
4646
}
4747

0 commit comments

Comments
 (0)