mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-14 02:12:33 +00:00
Add payload to a cache for later signing
This commit is contained in:
@@ -140,7 +140,8 @@ pub fn build_response_v4<T: BeaconChainTypes>(
|
||||
.to_ref()
|
||||
.fork_name(&chain.spec)
|
||||
.map_err(inconsistent_fork_rejection)?;
|
||||
let consensus_block_value_wei = Uint256::from(consensus_block_value) * Uint256::from(1_000_000_000u64);
|
||||
let consensus_block_value_wei =
|
||||
Uint256::from(consensus_block_value) * Uint256::from(1_000_000_000u64);
|
||||
|
||||
match accept_header {
|
||||
Some(api_types::Accept::Ssz) => Response::builder()
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
use crate::produce_block::{produce_blinded_block_v2, produce_block_v2, produce_block_v3, produce_block_v4};
|
||||
use crate::produce_block::{
|
||||
produce_blinded_block_v2, produce_block_v2, produce_block_v3, produce_block_v4,
|
||||
};
|
||||
use crate::task_spawner::{Priority, TaskSpawner};
|
||||
use crate::utils::{
|
||||
AnyVersionFilter, ChainFilter, EthV1Filter, NetworkTxFilter, NotWhileSyncingFilter,
|
||||
|
||||
Reference in New Issue
Block a user