fixed windows build problem

This commit is contained in:
Bas van Kervel 2015-06-08 13:50:36 +02:00 committed by Bas van Kervel
parent 0a600a03ee
commit 8aea85e374

View File

@ -647,7 +647,7 @@ func newIpcClient(cfg IpcConfig, codec codec.Codec) (*ipcClient, error) {
return &ipcClient{codec.New(c)}, nil return &ipcClient{codec.New(c)}, nil
} }
func startIpc(cfg IpcConfig, codec codec.Codec, api api.Ethereum) error { func startIpc(cfg IpcConfig, codec codec.Codec, api api.EthereumApi) error {
os.Remove(cfg.Endpoint) // in case it still exists from a previous run os.Remove(cfg.Endpoint) // in case it still exists from a previous run
l, err := Listen(cfg.Endpoint) l, err := Listen(cfg.Endpoint)