This commit is contained in:
Michael Vines
2021-10-22 21:25:54 -07:00
committed by mergify[bot]
parent 293a0d8797
commit 350bb561eb
18 changed files with 35 additions and 52 deletions

View File

@ -33,6 +33,7 @@ use {
},
};
#[allow(clippy::large_enum_variant)]
enum NodeId {
// TVU node obtained through gossip (staked or not).
ContactInfo(ContactInfo),

View File

@ -95,6 +95,7 @@ impl FetchStage {
{
inc_new_counter_debug!("fetch_stage-honor_forwards", len);
for packets in batch {
#[allow(clippy::question_mark)]
if sendr.send(packets).is_err() {
return Err(Error::Send);
}