Skip to content

Commit 535ec03

Browse files
committed
comment fixes
1 parent 1254a28 commit 535ec03

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

protocol/flows/src/flow_context.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ impl FlowContext {
590590
}
591591
}
592592

593-
// Transaction relay is disabled if the node is out of sync and thus not mining
593+
// Transaction relay is disabled if the node is out of sync
594594
if !self.is_nearly_synced(consensus).await {
595595
return;
596596
}

protocol/flows/src/v5/txrelay/flow.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ impl RelayTransactionsFlow {
115115

116116
let session = self.ctx.consensus().unguarded_session();
117117

118-
// Transaction relay is disabled if the node is out of sync and thus not mining
118+
// Transaction relay is disabled if the node is out of sync
119119
if !self.ctx.is_nearly_synced(&session).await {
120120
continue;
121121
}

0 commit comments

Comments
 (0)