mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
src/consensus/proto: removed redundant continue
This commit is contained in:
@@ -65,7 +65,6 @@ impl ProtocolParticipant {
|
||||
self.p2p.broadcast_with_exclude(participant_copy, &exclude_list).await
|
||||
{
|
||||
error!("ProtocolParticipant::handle_receive_participant(): p2p broadcast failed: {}", e);
|
||||
continue
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -98,7 +98,6 @@ impl ProtocolTx {
|
||||
if self.state.write().await.append_tx(tx_copy.clone()) {
|
||||
if let Err(e) = self.p2p.broadcast_with_exclude(tx_copy, &exclude_list).await {
|
||||
error!("handle_receive_tx(): p2p broadcast fail: {}", e);
|
||||
continue
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user