This commit is contained in:
Marco Peereboom 2013-11-20 15:55:36 -06:00
parent 3f37e881dc
commit 694fccefa8

View file

@ -441,7 +441,7 @@ func newRPCServer(listenAddrs []string, s *server) (*rpcServer, error) {
rpc.ws.spentNotifications = make(map[btcwire.OutPoint]*list.List)
rpc.ws.minedTxNotifications = make(map[btcwire.ShaHash]*list.List)
// check for existance of cert file and key file
// check for existence of cert file and key file
if !fileExists(cfg.RPCKey) && !fileExists(cfg.RPCCert) {
// if both files do not exist, we generate them.
err := genKey(cfg.RPCKey, cfg.RPCCert)