mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-05-19 15:10:34 -04:00
Log bitcoin deposit address on startup
This commit is contained in:
parent
4768c79070
commit
d296c22ecf
2 changed files with 10 additions and 0 deletions
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue