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
b2be5f95
Unverified
Commit
b2be5f95
authored
Jul 25, 2022
by
Marius van der Wijden
Committed by
GitHub
Jul 25, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eth/catalyst: better warning for ttd not configured (#25394)
parent
6da1fce2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
api.go
eth/catalyst/api.go
+1
-1
No files found.
eth/catalyst/api.go
View file @
b2be5f95
...
...
@@ -62,7 +62,7 @@ type ConsensusAPI struct {
// The underlying blockchain needs to have a valid terminal total difficulty set.
func
NewConsensusAPI
(
eth
*
eth
.
Ethereum
)
*
ConsensusAPI
{
if
eth
.
BlockChain
()
.
Config
()
.
TerminalTotalDifficulty
==
nil
{
log
.
Warn
(
"Engine API started
without valid total difficulty
"
)
log
.
Warn
(
"Engine API started
but chain not configured for merge yet
"
)
}
return
&
ConsensusAPI
{
eth
:
eth
,
...
...
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