Skip to content

Commit

Permalink
fix(worker): show minerid
Browse files Browse the repository at this point in the history
  • Loading branch information
0x5459 committed Jul 31, 2023
1 parent e2fb596 commit 661b70e
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 661b70e

Please sign in to comment.