fmt again

I botched it. I am sorry.
This commit is contained in:
Luke Parker 2022-08-30 01:52:00 -04:00
parent 6045f4ae59
commit 91f62672d3
No known key found for this signature in database
GPG key ID: F9F1386DB1E119B6

View file

@ -197,10 +197,7 @@ impl Coin for Monero {
) -> Result<(Vec<u8>, Vec<<Self::Output as OutputTrait>::Id>), CoinError> {
self.rpc.publish_transaction(tx).await.map_err(|_| CoinError::ConnectionError)?;
Ok((
tx.hash().to_vec(),
tx.prefix.outputs.iter().map(|output| output.key.to_bytes()).collect(),
))
Ok((tx.hash().to_vec(), tx.prefix.outputs.iter().map(|output| output.key.to_bytes()).collect()))
}
#[cfg(test)]