This commit is contained in:
Sean Matthew
2023-10-26 00:41:06 -04:00
parent b9bf3eac68
commit 4df0f28be1

View File

@@ -1070,9 +1070,7 @@ impl TransactionFetcher {
{
// Extract the requested hashes
let request_hashes: Vec<TxHash> = match &result {
Ok(Ok(pooled_txs)) => {
pooled_txs.0.iter().map(|tx_elem| *tx_elem.hash()).collect()
}
Ok(Ok(pooled_txs)) => pooled_txs.0.iter().map(|tx_elem| *tx_elem.hash()).collect(),
_ => Vec::new(),
};