mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-01-23 22:01:21 -05:00
chore: fix clippy
This commit is contained in:
parent
7660b5df7d
commit
56ccd798e2
@ -296,7 +296,7 @@ impl<'c> MoneroWalletRpc {
|
||||
|
||||
/// Sends amount to address
|
||||
pub async fn transfer(&self, address: &str, amount: u64) -> Result<Transfer> {
|
||||
Ok(self.client().transfer_single(0, amount, address).await?)
|
||||
self.client().transfer_single(0, amount, address).await
|
||||
}
|
||||
|
||||
pub async fn address(&self) -> Result<GetAddress> {
|
||||
|
@ -248,9 +248,8 @@ impl EventLoopHandle {
|
||||
&mut self,
|
||||
tx_redeem_encsig: EncryptedSignature,
|
||||
) -> Result<(), bmrng::error::RequestError<EncryptedSignature>> {
|
||||
Ok(self
|
||||
.encrypted_signature
|
||||
self.encrypted_signature
|
||||
.send_receive(tx_redeem_encsig)
|
||||
.await?)
|
||||
.await
|
||||
}
|
||||
}
|
||||
|
@ -142,7 +142,7 @@ impl WalletRpc {
|
||||
tracing::debug!("{}%", percent);
|
||||
notified = percent;
|
||||
}
|
||||
file.write(&bytes).await?;
|
||||
file.write_all(&bytes).await?;
|
||||
}
|
||||
|
||||
file.flush().await?;
|
||||
|
Loading…
Reference in New Issue
Block a user