mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-12 01:41:36 +00:00
beacon/engine: only print the bad hash on error (#35112)
Better error messages on the engine api
This commit is contained in:
parent
1f87331fbc
commit
10614fc423
1 changed files with 1 additions and 1 deletions
|
|
@ -295,7 +295,7 @@ func ExecutableDataToBlockNoHash(data ExecutableData, versionedHashes []common.H
|
||||||
}
|
}
|
||||||
for i := 0; i < len(blobHashes); i++ {
|
for i := 0; i < len(blobHashes); i++ {
|
||||||
if blobHashes[i] != versionedHashes[i] {
|
if blobHashes[i] != versionedHashes[i] {
|
||||||
return nil, fmt.Errorf("invalid versionedHash at %v: %v blobHashes: %v", i, versionedHashes, blobHashes)
|
return nil, fmt.Errorf("invalid versionedHash at %v: %v blobHash: %v", i, versionedHashes[i], blobHashes[i])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Only set withdrawalsRoot if it is non-nil. This allows CLs to use
|
// Only set withdrawalsRoot if it is non-nil. This allows CLs to use
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue