Skip to content

Commit

Permalink
Merge pull request #850 from ipfs-force-community/fix/0x5459/show-min…
Browse files Browse the repository at this point in the history
…er-id

fix(worker): show miner-id
  • Loading branch information
0x5459 authored Jul 31, 2023
2 parents e2fb596 + 661b70e commit 6a207ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion damocles-manager/core/types_wdpost.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ type WdPoStJobBrief struct {
}

func (j *WdPoStJobBrief) MarshalJSON() ([]byte, error) {
j.WdPoStJob.Input = WdPoStInput{}
j.WdPoStJob.Input = WdPoStInput{
MinerID: j.WdPoStJob.Input.MinerID,
}
j.WdPoStJob.Output = &stage.WindowPoStOutput{}
return json.Marshal(&j.WdPoStJob)
}
Expand Down

0 comments on commit 6a207ca

Please sign in to comment.