lotus/cmd/lotus-seal-worker/rpc.go
2020-03-28 01:32:39 +01:00

21 lines
366 B
Go

package main
import (
"context"
"github.com/filecoin-project/specs-storage/storage"
"github.com/filecoin-project/lotus/build"
"github.com/filecoin-project/sector-storage"
)
type worker struct {
*sectorstorage.LocalWorker
}
func (w *worker) Version(context.Context) (build.Version, error) {
return build.APIVersion, nil
}
var _ storage.Sealer = &worker{}