mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-30 04:37:13 +00:00
Add more testing, additional checks
This commit is contained in:
@@ -64,8 +64,14 @@ pub async fn publish_inclusion_lists<T: BeaconChainTypes>(
|
||||
&network_tx,
|
||||
&inner_log,
|
||||
) {
|
||||
Ok(()) => PublishInclusionListResult::Success,
|
||||
Err(e) => PublishInclusionListResult::Failure(e),
|
||||
Ok(()) => {
|
||||
debug!(inner_log, "Successfully verified gossip inclusion list");
|
||||
PublishInclusionListResult::Success
|
||||
},
|
||||
Err(e) => {
|
||||
debug!(inner_log, "Failed to verify gossip inclusion list"; "error" => format!("{:?}", e));
|
||||
PublishInclusionListResult::Failure(e)
|
||||
},
|
||||
}
|
||||
})
|
||||
.map(Some)
|
||||
|
||||
Reference in New Issue
Block a user