rpc: use zap.Logger
This commit is contained in:
parent
aecdf470e7
commit
289cb1c1d9
5 changed files with 40 additions and 43 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue