miner-ui-4 on release-0.3.18: the merge view's live::fetch call takes the engine's Shared (the four-argument form 4e4b1fab gave it; 302d6e70 was written against the three-argument one)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
7d211170e8
commit
c8a8765589
1 changed files with 1 additions and 1 deletions
|
|
@ -3197,7 +3197,7 @@ impl Engine {
|
||||||
let ids: std::collections::HashSet<String> = self.st().mining.cards.iter().flat_map(|c| c.ids.iter().cloned()).collect();
|
let ids: std::collections::HashSet<String> = self.st().mining.cards.iter().flat_map(|c| c.ids.iter().cloned()).collect();
|
||||||
if !live_api.is_empty() {
|
if !live_api.is_empty() {
|
||||||
std::thread::spawn(move || {
|
std::thread::spawn(move || {
|
||||||
if let Some((sink_blue, ours_ts_ms)) = crate::merge::view_of(&crate::live::fetch(&live_api, 600, &ids)) {
|
if let Some((sink_blue, ours_ts_ms)) = crate::merge::view_of(&crate::live::fetch(&shared, &live_api, 600, &ids)) {
|
||||||
shared.send(Cmd::NetView { sink_blue, ours_ts_ms });
|
shared.send(Cmd::NetView { sink_blue, ours_ts_ms });
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue