Log bitcoin deposit address on startup

This commit is contained in:
rishflab 2021-02-15 20:01:57 +11:00
parent 4768c79070
commit d296c22ecf
2 changed files with 10 additions and 0 deletions

View File

@ -91,6 +91,11 @@ async fn main() -> Result<()> {
)
.await?;
info!(
"BTC deposit address: {}",
bitcoin_wallet.new_address().await?
);
let (mut event_loop, _) = EventLoop::new(
config.network.listen,
seed,

View File

@ -106,6 +106,11 @@ async fn main() -> Result<()> {
send_bitcoin, swap_id
);
info!(
"BTC deposit address: {}",
bitcoin_wallet.new_address().await?
);
let bob_factory = Builder::new(
seed,
db,