revert back optional for Miner; remove ActorAddress call in node.MinerHandler

This commit is contained in:
Anton Evangelatov
2021-07-02 11:58:31 +02:00
parent 1869de7662
commit 4194c7fa24
5 changed files with 303 additions and 3 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ func MinerHandler(a api.StorageMiner, permissioned bool) (http.Handler, error) {
mapi = api.PermissionedStorMinerAPI(mapi)
}
_, _ = a.ActorAddress(context.Background())
//_, _ = a.ActorAddress(context.Background())
readerHandler, readerServerOpt := rpcenc.ReaderParamDecoder()
rpcServer := jsonrpc.NewServer(readerServerOpt)
rpcServer.Register("Filecoin", mapi)