mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-05-30 04:11:07 +00:00
Clean unnecessary changes and comments
This commit is contained in:
@@ -88,12 +88,13 @@ impl FeedConnector {
|
|||||||
feed: ctx.address(),
|
feed: ctx.address(),
|
||||||
})
|
})
|
||||||
.into_actor(self)
|
.into_actor(self)
|
||||||
.then(|res, act, _| {
|
.then(|res, actor, _| {
|
||||||
match res {
|
match res {
|
||||||
Ok(true) => (),
|
Ok(true) => (),
|
||||||
_ => act.chain_hash = 0,
|
// Chain not found, reset hash
|
||||||
|
_ => actor.chain_hash = 0,
|
||||||
}
|
}
|
||||||
async {}.into_actor(act)
|
async {}.into_actor(actor)
|
||||||
})
|
})
|
||||||
.wait(ctx);
|
.wait(ctx);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,3 @@
|
|||||||
// #[macro_use]
|
|
||||||
// extern crate log;
|
|
||||||
|
|
||||||
use std::net::Ipv4Addr;
|
use std::net::Ipv4Addr;
|
||||||
|
|
||||||
use actix::prelude::*;
|
use actix::prelude::*;
|
||||||
|
|||||||
Reference in New Issue
Block a user