Skip to content

Commit

Permalink
Merge pull request #50 from Chia-Network/optional-plot-info-types
Browse files Browse the repository at this point in the history
Fix optional types on PlotInfo
  • Loading branch information
cmmarslender committed Nov 9, 2022
2 parents 4d92d41 + ee58040 commit d02386b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions pkg/types/harvester.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ type EventHarvesterFarmingInfo struct {

// PlotInfo contains information about a plot, as used in get_plots rpc
type PlotInfo struct {
FileSize uint64 `json:"file_size"`
Filename string `json:"filename"`
PlotID Bytes32 `json:"plot_id"`
PlotPublicKey G1Element `json:"plot_public_key"`
PoolContractPuzzleHash Bytes32 `json:"pool_contract_puzzle_hash"`
PoolPublicKey G1Element `json:"pool_public_key"`
Size uint8 `json:"size"`
TimeModified int `json:"time_modified"`
FileSize uint64 `json:"file_size"`
Filename string `json:"filename"`
PlotID Bytes32 `json:"plot_id"`
PlotPublicKey G1Element `json:"plot_public_key"`
PoolContractPuzzleHash *Bytes32 `json:"pool_contract_puzzle_hash"`
PoolPublicKey *G1Element `json:"pool_public_key"`
Size uint8 `json:"size"`
TimeModified int `json:"time_modified"`
}

0 comments on commit d02386b

Please sign in to comment.