Skip to content

Commit 0994512

Browse files
authored
Merge pull request #406 from Shourya742/2026-04-03-remove-no-op-retain-from-handle_set_custom_mining_job_success
Remove no-op retain from handle set custom mining job success
2 parents e9c2dcc + ea02f72 commit 0994512

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -593,9 +593,6 @@ impl HandleMiningMessagesFromServerAsync for ChannelManager {
593593

594594
let template_id = last_declare_job.template.template_id;
595595

596-
data.last_declare_job_store
597-
.retain(|_, job| job.template.template_id != template_id);
598-
599596
data.template_id_to_upstream_job_id
600597
.insert(template_id, msg.job_id);
601598

0 commit comments

Comments
 (0)