Unverified Commit a742943c authored by Seungbae Yu's avatar Seungbae Yu Committed by GitHub

node: fix typos in comments (#27236)

parent 0fb1be09
...@@ -75,7 +75,7 @@ type Config struct { ...@@ -75,7 +75,7 @@ type Config struct {
// is created by New and destroyed when the node is stopped. // is created by New and destroyed when the node is stopped.
KeyStoreDir string `toml:",omitempty"` KeyStoreDir string `toml:",omitempty"`
// ExternalSigner specifies an external URI for a clef-type signer // ExternalSigner specifies an external URI for a clef-type signer.
ExternalSigner string `toml:",omitempty"` ExternalSigner string `toml:",omitempty"`
// UseLightweightKDF lowers the memory and CPU requirements of the key store // UseLightweightKDF lowers the memory and CPU requirements of the key store
...@@ -92,7 +92,7 @@ type Config struct { ...@@ -92,7 +92,7 @@ type Config struct {
// USB enables hardware wallet monitoring and connectivity. // USB enables hardware wallet monitoring and connectivity.
USB bool `toml:",omitempty"` USB bool `toml:",omitempty"`
// SmartCardDaemonPath is the path to the smartcard daemon's socket // SmartCardDaemonPath is the path to the smartcard daemon's socket.
SmartCardDaemonPath string `toml:",omitempty"` SmartCardDaemonPath string `toml:",omitempty"`
// IPCPath is the requested location to place the IPC endpoint. If the path is // IPCPath is the requested location to place the IPC endpoint. If the path is
...@@ -396,7 +396,7 @@ func (c *Config) NodeKey() *ecdsa.PrivateKey { ...@@ -396,7 +396,7 @@ func (c *Config) NodeKey() *ecdsa.PrivateKey {
return key return key
} }
// CheckLegacyFiles inspects the datadir for signs of legacy static-nodes // checkLegacyFiles inspects the datadir for signs of legacy static-nodes
// and trusted-nodes files. If they exist it raises an error. // and trusted-nodes files. If they exist it raises an error.
func (c *Config) checkLegacyFiles() { func (c *Config) checkLegacyFiles() {
c.checkLegacyFile(c.ResolvePath(datadirStaticNodes)) c.checkLegacyFile(c.ResolvePath(datadirStaticNodes))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment