mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
update summarizeBadBlock (#858)
This commit is contained in:
parent
a19bdff959
commit
360bc1ed5e
1 changed files with 2 additions and 1 deletions
|
|
@ -2621,12 +2621,13 @@ func summarizeBadBlock(block *types.Block, receipts []*types.Receipt, config *pa
|
||||||
return fmt.Sprintf(`
|
return fmt.Sprintf(`
|
||||||
########## BAD BLOCK #########
|
########## BAD BLOCK #########
|
||||||
Block: %v (%#x)
|
Block: %v (%#x)
|
||||||
|
ParentHash: %#x
|
||||||
Error: %v
|
Error: %v
|
||||||
Platform: %v%v
|
Platform: %v%v
|
||||||
Chain config: %#v
|
Chain config: %#v
|
||||||
Receipts: %v
|
Receipts: %v
|
||||||
##############################
|
##############################
|
||||||
`, block.Number(), block.Hash(), err, platform, vcs, config, receiptString)
|
`, block.Number(), block.Hash(), block.ParentHash(), err, platform, vcs, config, receiptString)
|
||||||
}
|
}
|
||||||
|
|
||||||
// InsertHeaderChain attempts to insert the given header chain in to the local
|
// InsertHeaderChain attempts to insert the given header chain in to the local
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue