diff --git a/src/daemon.rs b/src/daemon.rs index e3265c9..65d358f 100644 --- a/src/daemon.rs +++ b/src/daemon.rs @@ -483,7 +483,7 @@ impl Daemon { .as_array() .chain_err(|| "invalid block txids")? .iter() - .map(|txid| parse_hash(txid)) + .map(parse_hash) .collect::>>() }