This commit is contained in:
Łukasz Magiera 2019-07-23 23:55:19 +02:00
parent 4c8b028887
commit 8d529d1ae7
4 changed files with 2 additions and 4 deletions

View File

@ -44,7 +44,7 @@ var initCmd = &cli.Command{
return err return err
} }
if v.APIVersion & build.MinorMask != build.APIVersion & build.MinorMask { if v.APIVersion&build.MinorMask != build.APIVersion&build.MinorMask {
return xerrors.Errorf("Remote API version didn't match (local %x, remote %x)", build.APIVersion, v.APIVersion) return xerrors.Errorf("Remote API version didn't match (local %x, remote %x)", build.APIVersion, v.APIVersion)
} }

View File

@ -65,7 +65,6 @@ var runCmd = &cli.Command{
log.Infof("Remote version %s", v) log.Infof("Remote version %s", v)
rpcServer := jsonrpc.NewServer() rpcServer := jsonrpc.NewServer()
rpcServer.Register("Filecoin", minerapi) rpcServer.Register("Filecoin", minerapi)
http.Handle("/rpc/v0", rpcServer) http.Handle("/rpc/v0", rpcServer)

View File

@ -201,7 +201,6 @@ func Online() Option {
// Storage miner // Storage miner
) )
} }