mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-05-30 01:51:08 +00:00
Clean unnecessary changes and comments
This commit is contained in:
@@ -88,12 +88,13 @@ impl FeedConnector {
|
||||
feed: ctx.address(),
|
||||
})
|
||||
.into_actor(self)
|
||||
.then(|res, act, _| {
|
||||
.then(|res, actor, _| {
|
||||
match res {
|
||||
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);
|
||||
}
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
// #[macro_use]
|
||||
// extern crate log;
|
||||
|
||||
use std::net::Ipv4Addr;
|
||||
|
||||
use actix::prelude::*;
|
||||
|
||||
Reference in New Issue
Block a user