mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-09-21 13:24:39 -04:00
fix(asb): use unlocked monero balance for quotes
This commit is contained in:
parent
c8f3fcebe7
commit
f224c49584
11 changed files with 106 additions and 39 deletions
|
@ -867,7 +867,9 @@ impl Wallet for monero::Wallet {
|
|||
}
|
||||
|
||||
async fn get_balance(&self) -> Result<Self::Amount> {
|
||||
self.get_balance().await
|
||||
let total = self.get_balance().await?;
|
||||
let balance = Self::Amount::from_piconero(total.balance);
|
||||
Ok(balance)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue