mirror of
https://github.com/uqbar-dao/nectar.git
synced 2024-12-22 16:11:38 +03:00
fix: remove old comment
This commit is contained in:
parent
9ecc630d63
commit
d26b72dff8
@ -36,8 +36,7 @@ pub async fn timer_service(
|
||||
Some(km) = timer_message_receiver.recv() => {
|
||||
// ignore Requests sent from other nodes
|
||||
if km.source.node != our { continue };
|
||||
// we only handle Requests which contain a little-endian u64 as IPC,
|
||||
// except for a special "debug" message, which prints the current state
|
||||
// we only handle Requests
|
||||
let Message::Request(req) = km.message else { continue };
|
||||
let Ok(timer_action) = serde_json::from_slice::<TimerAction>(&req.body) else {
|
||||
let _ = print_tx.send(Printout {
|
||||
|
Loading…
Reference in New Issue
Block a user