core: more compact bad block report (#25714)

This shortens the chain config summary in bad block reports,
and adds go-ethereum version information as well.

Co-authored-by: Felix Lange <fjl@twurst.com>
This commit is contained in:
lightclientandFelix Lange authored and GitHub committed 2022-09-17 21:27:10 +02:00
1 parent ada603fab5
commit 8e5201551d
4 files changed
+162 -22

No files matched your search

+2 -2
View File
@@ -407,8 +407,8 @@ func (c *CliqueConfig) String() string {
return "clique"
}
// String implements the fmt.Stringer interface.
func (c *ChainConfig) String() string {
// Description returns a human-readable description of ChainConfig.
func (c *ChainConfig) Description() string {
var banner string
// Create some basinc network config output