mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-05-19 23:20:30 -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?;
|
.await?;
|
||||||
|
|
||||||
|
info!(
|
||||||
|
"BTC deposit address: {}",
|
||||||
|
bitcoin_wallet.new_address().await?
|
||||||
|
);
|
||||||
|
|
||||||
let (mut event_loop, _) = EventLoop::new(
|
let (mut event_loop, _) = EventLoop::new(
|
||||||
config.network.listen,
|
config.network.listen,
|
||||||
seed,
|
seed,
|
||||||
|
|
|
@ -106,6 +106,11 @@ async fn main() -> Result<()> {
|
||||||
send_bitcoin, swap_id
|
send_bitcoin, swap_id
|
||||||
);
|
);
|
||||||
|
|
||||||
|
info!(
|
||||||
|
"BTC deposit address: {}",
|
||||||
|
bitcoin_wallet.new_address().await?
|
||||||
|
);
|
||||||
|
|
||||||
let bob_factory = Builder::new(
|
let bob_factory = Builder::new(
|
||||||
seed,
|
seed,
|
||||||
db,
|
db,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue