fix `Eth-Consensus-Block-Value` reading (#5964)
Fix regression from #5842 where `Eth-Execution-Payload-Value` is parsed into `consensusValue` instead of `Eth-consensus-Block-Value`. We don't use those values for now, but fixing avoids hard-to-debug bugs later.
This commit is contained in:
parent
fef831d92a
commit
00510a9d2f
|
@ -4014,7 +4014,7 @@ proc decodeBytes*[T: ProduceBlockResponseV3](
|
|||
Opt.none(Uint256)
|
||||
else:
|
||||
try:
|
||||
Opt.some parse(headerPayloadValue, UInt256, 10)
|
||||
Opt.some parse(headerConsensusValue, UInt256, 10)
|
||||
except ValueError:
|
||||
return err("Incorrect `Eth-Consensus-Block-Value` header value")
|
||||
withConsensusFork(fork):
|
||||
|
|
Loading…
Reference in New Issue