This commit is contained in:
Łukasz Magiera
2019-07-24 01:47:36 +02:00
parent 4c8b028887
commit 8d529d1ae7
4 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -18,4 +18,4 @@ const (
MajorMask = 0xff0000
MinorMask = 0xffff00
PatchMask = 0xffffff
)
)
+1 -1
View File
@@ -44,7 +44,7 @@ var initCmd = &cli.Command{
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)
}
-1
View File
@@ -65,7 +65,6 @@ var runCmd = &cli.Command{
log.Infof("Remote version %s", v)
rpcServer := jsonrpc.NewServer()
rpcServer.Register("Filecoin", minerapi)
http.Handle("/rpc/v0", rpcServer)
-1
View File
@@ -201,7 +201,6 @@ func Online() Option {
// Storage miner
)
}