mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +00:00
typo
This commit is contained in:
parent
3f37e881dc
commit
694fccefa8
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user