mirror of
https://github.com/serai-dex/serai.git
synced 2024-11-17 01:17:36 +00:00
fmt again
I botched it. I am sorry.
This commit is contained in:
parent
6045f4ae59
commit
91f62672d3
1 changed files with 1 additions and 4 deletions
|
@ -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)]
|
||||||
|
|
Loading…
Reference in a new issue