Skip to content

Commit 4166706

Browse files
committed
Remove solo mining check in upstream message route as we already make sure that we don't send mining message upstream
1 parent 3ed5a2c commit 4166706

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

miner-apps/jd-client/src/lib/channel_manager/downstream_message_handler.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ impl RouteMessageTo<'_> {
9999
/// The routing is handled as follows:
100100
/// - [`RouteMessageTo::Downstream`] → Sends the mining message to the specified downstream
101101
/// client.
102-
/// - [`RouteMessageTo::Upstream`] → Sends the mining message upstream, unless in
103-
/// [`JdMode::SoloMining`].
102+
/// - [`RouteMessageTo::Upstream`] → Forwards mining message upstream. In solo mode,
103+
/// upstream-directed messages should not be produced.
104104
/// - [`RouteMessageTo::JobDeclarator`] → Sends the job declaration message to the JDS.
105105
/// - [`RouteMessageTo::TemplateProvider`] → Sends the template distribution message to the
106106
/// template provider.

0 commit comments

Comments
 (0)