mirror of
https://github.com/romanz/electrs.git
synced 2025-02-24 06:57:53 +01:00
Simplify .map() at Daemon::getblocktxids()
This commit is contained in:
parent
e9d9f6b16c
commit
e49cef1bbc
1 changed files with 1 additions and 1 deletions
|
@ -483,7 +483,7 @@ impl Daemon {
|
|||
.as_array()
|
||||
.chain_err(|| "invalid block txids")?
|
||||
.iter()
|
||||
.map(|txid| parse_hash(txid))
|
||||
.map(parse_hash)
|
||||
.collect::<Result<Vec<Sha256dHash>>>()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue