mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
Fix block v3 reward encodings (#5049)
* Fix block v3 reward encodings * Use crates.io version
This commit is contained in:
@@ -80,7 +80,7 @@ pub fn build_response_v3<T: BeaconChainTypes>(
|
||||
.fork_name(&chain.spec)
|
||||
.map_err(inconsistent_fork_rejection)?;
|
||||
let execution_payload_value = block_response.execution_payload_value();
|
||||
let consensus_block_value = block_response.consensus_block_value();
|
||||
let consensus_block_value = block_response.consensus_block_value_wei();
|
||||
let execution_payload_blinded = block_response.is_blinded();
|
||||
|
||||
let metadata = ProduceBlockV3Metadata {
|
||||
|
||||
@@ -93,7 +93,7 @@ pub fn add_execution_payload_value_header<T: Reply>(
|
||||
/// Add the `Eth-Consensus-Block-Value` header to a response.
|
||||
pub fn add_consensus_block_value_header<T: Reply>(
|
||||
reply: T,
|
||||
consensus_payload_value: u64,
|
||||
consensus_payload_value: Uint256,
|
||||
) -> Response {
|
||||
reply::with_header(
|
||||
reply,
|
||||
|
||||
Reference in New Issue
Block a user