chore: fix clippy

pull/1189/head
Byron Hambly 2 years ago
parent 87b7d3b04e
commit 3816ab762e
No known key found for this signature in database
GPG Key ID: DE8F6EA20A661697

@ -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…
Cancel
Save