mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-06 10:11:44 +00:00
Merged with unstable
This commit is contained in:
@@ -751,10 +751,11 @@ impl Service {
|
||||
let deposit_count_to_finalize = eth1data_to_finalize.deposit_count;
|
||||
if deposit_count_to_finalize > already_finalized {
|
||||
match self.finalize_deposits(eth1data_to_finalize) {
|
||||
Err(e) => error!(
|
||||
Err(e) => warn!(
|
||||
self.log,
|
||||
"Failed to finalize deposit cache";
|
||||
"error" => ?e,
|
||||
"info" => "this should resolve on its own"
|
||||
),
|
||||
Ok(()) => info!(
|
||||
self.log,
|
||||
@@ -814,9 +815,10 @@ impl Service {
|
||||
.block_by_hash(ð1_data.block_hash)
|
||||
.cloned()
|
||||
.ok_or_else(|| {
|
||||
Error::FailedToFinalizeDeposit(
|
||||
"Finalized block not found in block cache".to_string(),
|
||||
)
|
||||
Error::FailedToFinalizeDeposit(format!(
|
||||
"Finalized block not found in block cache: {:?}",
|
||||
eth1_data.block_hash
|
||||
))
|
||||
})?;
|
||||
self.inner
|
||||
.deposit_cache
|
||||
|
||||
Reference in New Issue
Block a user