Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
a742943c
Unverified
Commit
a742943c
authored
2 years ago
by
Seungbae Yu
Committed by
GitHub
2 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
node: fix typos in comments (#27236)
parent
0fb1be09
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
config.go
node/config.go
+3
-3
No files found.
node/config.go
View file @
a742943c
...
...
@@ -75,7 +75,7 @@ type Config struct {
// is created by New and destroyed when the node is stopped.
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"`
// UseLightweightKDF lowers the memory and CPU requirements of the key store
...
...
@@ -92,7 +92,7 @@ type Config struct {
// USB enables hardware wallet monitoring and connectivity.
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"`
// IPCPath is the requested location to place the IPC endpoint. If the path is
...
...
@@ -396,7 +396,7 @@ func (c *Config) NodeKey() *ecdsa.PrivateKey {
return
key
}
//
C
heckLegacyFiles inspects the datadir for signs of legacy static-nodes
//
c
heckLegacyFiles inspects the datadir for signs of legacy static-nodes
// and trusted-nodes files. If they exist it raises an error.
func
(
c
*
Config
)
checkLegacyFiles
()
{
c
.
checkLegacyFile
(
c
.
ResolvePath
(
datadirStaticNodes
))
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment