mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-10-01 01:45:40 -04:00
Inform user that we are going to swap the remainder of the balance
This commit is contained in:
parent
b7c3524b4f
commit
cbef577e2d
@ -117,12 +117,15 @@ async fn main() -> Result<()> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
debug!("Received {}", bitcoin_wallet.balance().await?);
|
debug!("Received {}", bitcoin_wallet.balance().await?);
|
||||||
|
} else {
|
||||||
|
debug!(
|
||||||
|
"Still got {} left in wallet, swapping ...",
|
||||||
|
bitcoin_wallet.balance().await?
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
let send_bitcoin = bitcoin_wallet.max_giveable(TxLock::script_size()).await?;
|
let send_bitcoin = bitcoin_wallet.max_giveable(TxLock::script_size()).await?;
|
||||||
|
|
||||||
info!("Swapping {} ...", send_bitcoin);
|
|
||||||
|
|
||||||
let bob_factory = Builder::new(
|
let bob_factory = Builder::new(
|
||||||
seed,
|
seed,
|
||||||
db,
|
db,
|
||||||
|
Loading…
Reference in New Issue
Block a user