Skip to content

Commit

Permalink
worker: fix stackoverflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisSchinnerl committed Nov 12, 2024
1 parent 9c5ddeb commit 605c716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker/host_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func newTestHostPriceTable() api.HostPriceTable {
}

func (h *testHost) PublicKey() types.PublicKey {
return h.PublicKey()
return h.Host.PublicKey()
}

func (h *testHost) DownloadSector(ctx context.Context, w io.Writer, root types.Hash256, offset, length uint32, overpay bool) error {
Expand Down

0 comments on commit 605c716

Please sign in to comment.