rpc: use zap.Logger

This commit is contained in:
Evgenii Stratonikov 2019-12-30 11:44:52 +03:00
parent aecdf470e7
commit 289cb1c1d9
5 changed files with 40 additions and 43 deletions

View file

@ -320,7 +320,7 @@ func startServer(ctx *cli.Context) error {
}
server := network.NewServer(serverConfig, chain, log)
rpcServer := rpc.NewServer(chain, cfg.ApplicationConfiguration.RPC, server)
rpcServer := rpc.NewServer(chain, cfg.ApplicationConfiguration.RPC, server, log)
errChan := make(chan error)
go server.Start(errChan)