address grumbles

This commit is contained in:
Robert Habermeier
2017-05-12 17:16:38 +02:00
parent 0fd3e36c23
commit 2d87f562f6
3 changed files with 45 additions and 33 deletions

View File

@@ -185,7 +185,7 @@ impl EthClient {
// three possible outcomes:
// - network is down.
// - we get a score, but our hash is non-canonical.
// - we get ascore, and our hash is canonical.
// - we get a score, and our hash is canonical.
let maybe_fut = sync.with_context(move |ctx| on_demand.hash_and_score_by_number(ctx, req));
match maybe_fut {
Some(fut) => fut.map(move |(hash, score)| {