mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-10-12 13:30:58 -04:00
Shorten function name
The variable will always be at least called `wallet`, hence we can omit the `_wallet` postfix from the function name.
This commit is contained in:
parent
4f66269887
commit
37f97ac471
4 changed files with 11 additions and 11 deletions
|
@ -105,7 +105,7 @@ impl Wallet {
|
|||
Ok(Amount::from_sat(fees))
|
||||
}
|
||||
|
||||
pub async fn sync_wallet(&self) -> Result<()> {
|
||||
pub async fn sync(&self) -> Result<()> {
|
||||
self.inner
|
||||
.lock()
|
||||
.await
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue