Skip to content

Commit

Permalink
Merge branch 'dev' into chris/isolate-uploader
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisSchinnerl committed Nov 13, 2024
2 parents b57c1e9 + e98388d commit f955e41
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions internal/test/mocks/hoststore.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,19 +79,20 @@ func (h *Host) UploadSector(ctx context.Context, sectorRoot types.Hash256, secto
return errors.New("implement when needed")

}

Check failure on line 81 in internal/test/mocks/hoststore.go

View workflow job for this annotation

GitHub Actions / analyze

unnecessary trailing newline (whitespace)

func (h *Host) PriceTable(ctx context.Context, rev *types.FileContractRevision) (api.HostPriceTable, types.Currency, error) {
return h.HostPriceTable(), types.NewCurrency64(1), nil
}
func (h *Host) FetchRevision(ctx context.Context, fetchTimeout time.Duration) (types.FileContractRevision, error) {

func (h *Host) FetchRevision(ctx context.Context, fetchTimeout time.Duration) (types.FileContractRevision, error) {
return types.FileContractRevision{}, errors.New("implement when needed")

}

func (h *Host) FundAccount(ctx context.Context, balance types.Currency, rev *types.FileContractRevision) error {
return errors.New("implement when needed")

}

Check failure on line 94 in internal/test/mocks/hoststore.go

View workflow job for this annotation

GitHub Actions / analyze

unnecessary trailing newline (whitespace)

func (h *Host) SyncAccount(ctx context.Context, rev *types.FileContractRevision) error {
return errors.New("implement when needed")

}

0 comments on commit f955e41

Please sign in to comment.