Inform user that we are going to swap the remainder of the balance

pull/243/head
Thomas Eizinger 3 years ago
parent b7c3524b4f
commit cbef577e2d
No known key found for this signature in database
GPG Key ID: 651AC83A6C6C8B96

@ -117,12 +117,15 @@ async fn main() -> Result<()> {
}
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?;
info!("Swapping {} ...", send_bitcoin);
let bob_factory = Builder::new(
seed,
db,

Loading…
Cancel
Save