License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
Jakub Sztandera 2019-07-01 22:00:22 +02:00
parent 088c1e7860
commit 5736ac1d9d
11 changed files with 15 additions and 17 deletions

View File

@ -7,7 +7,6 @@ import (
"github.com/filecoin-project/go-lotus/rpclib"
)
func serveRPC(api api.API) error {
rpcServer := rpclib.NewServer()
rpcServer.Register("Filecoin", api)

View File

@ -22,4 +22,3 @@ func LifecycleCtx(mctx MetricsCtx, lc fx.Lifecycle) context.Context {
})
return ctx
}