mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +00:00
fmt again
I botched it. I am sorry.
This commit is contained in:
@@ -197,10 +197,7 @@ impl Coin for Monero {
|
|||||||
) -> Result<(Vec<u8>, Vec<<Self::Output as OutputTrait>::Id>), CoinError> {
|
) -> Result<(Vec<u8>, Vec<<Self::Output as OutputTrait>::Id>), CoinError> {
|
||||||
self.rpc.publish_transaction(tx).await.map_err(|_| CoinError::ConnectionError)?;
|
self.rpc.publish_transaction(tx).await.map_err(|_| CoinError::ConnectionError)?;
|
||||||
|
|
||||||
Ok((
|
Ok((tx.hash().to_vec(), tx.prefix.outputs.iter().map(|output| output.key.to_bytes()).collect()))
|
||||||
tx.hash().to_vec(),
|
|
||||||
tx.prefix.outputs.iter().map(|output| output.key.to_bytes()).collect(),
|
|
||||||
))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
|
|||||||
Reference in New Issue
Block a user