refactor: make chainsync machine agnostic of content

This commit is contained in:
Santiago Carmuega 2021-12-14 21:43:29 -03:00
parent e10575f2da
commit 20d9019375
18 changed files with 148 additions and 94 deletions

View file

@ -25,7 +25,11 @@ fn main() {
loop {
let payload = rx.recv().unwrap();
info!("got message within thread, id:{}, length:{}", protocol, payload.len());
info!(
"got message within thread, id:{}, length:{}",
protocol,
payload.len()
);
}
});
}