Skip to content

Commit 7b861ac

Browse files
committed
/
1 parent 8ca4ec1 commit 7b861ac

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

beacon_node/http_api/src/sync_committees.rs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -330,9 +330,8 @@ pub fn process_signed_contribution_and_proofs<T: BeaconChainTypes>(
330330
)
331331
.inspect_err(|e| {
332332
error!(
333-
log,
334-
"Unable to broadcast latest light client optimistic update";
335-
"error" => ?e,
333+
error = ?e,
334+
"Unable to broadcast latest light client optimistic update"
336335
);
337336
});
338337
};
@@ -347,9 +346,8 @@ pub fn process_signed_contribution_and_proofs<T: BeaconChainTypes>(
347346
)
348347
.inspect_err(|e| {
349348
error!(
350-
log,
351-
"Unable to broadcast latest light client finality update";
352-
"error" => ?e,
349+
error = ?e,
350+
"Unable to broadcast latest light client finality update"
353351
);
354352
});
355353
};

beacon_node/store/src/hot_cold_store.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3538,7 +3538,7 @@ pub fn get_ancestor_state_root<'a, E: EthSpec, Hot: ItemStore<E>, Cold: ItemStor
35383538
.get_cold_state_root(target_slot)
35393539
.map_err(Box::new)
35403540
.map_err(StateSummaryIteratorError::LoadStateRootError)?
3541-
.ok_or_else(|| StateSummaryIteratorError::MissingStateRoot {
3541+
.ok_or(StateSummaryIteratorError::MissingStateRoot {
35423542
target_slot,
35433543
state_upper_limit,
35443544
});

0 commit comments

Comments
 (0)