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
560dceb5
Unverified
Commit
560dceb5
authored
May 30, 2023
by
ucwong
Committed by
GitHub
May 30, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
les, eth: fix typo in comment (#27369)
parent
d789c68b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
api.go
eth/api.go
+2
-2
client.go
les/client.go
+2
-2
No files found.
eth/api.go
View file @
560dceb5
...
...
@@ -31,12 +31,12 @@ func NewEthereumAPI(e *Ethereum) *EthereumAPI {
return
&
EthereumAPI
{
e
}
}
// Etherbase is the address that mining rewards will be sen
d
to.
// Etherbase is the address that mining rewards will be sen
t
to.
func
(
api
*
EthereumAPI
)
Etherbase
()
(
common
.
Address
,
error
)
{
return
api
.
e
.
Etherbase
()
}
// Coinbase is the address that mining rewards will be sen
d
to (alias for Etherbase).
// Coinbase is the address that mining rewards will be sen
t
to (alias for Etherbase).
func
(
api
*
EthereumAPI
)
Coinbase
()
(
common
.
Address
,
error
)
{
return
api
.
Etherbase
()
}
...
...
les/client.go
View file @
560dceb5
...
...
@@ -266,12 +266,12 @@ func (s *LightEthereum) prenegQuery(n *enode.Node) int {
type
LightDummyAPI
struct
{}
// Etherbase is the address that mining rewards will be sen
d
to
// Etherbase is the address that mining rewards will be sen
t
to
func
(
s
*
LightDummyAPI
)
Etherbase
()
(
common
.
Address
,
error
)
{
return
common
.
Address
{},
errors
.
New
(
"mining is not supported in light mode"
)
}
// Coinbase is the address that mining rewards will be sen
d
to (alias for Etherbase)
// Coinbase is the address that mining rewards will be sen
t
to (alias for Etherbase)
func
(
s
*
LightDummyAPI
)
Coinbase
()
(
common
.
Address
,
error
)
{
return
common
.
Address
{},
errors
.
New
(
"mining is not supported in light mode"
)
}
...
...
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