mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-08-06 21:44:49 -04:00
Print recovery address
This commit is contained in:
parent
bdad145039
commit
d08ad8f0a1
1 changed files with 3 additions and 0 deletions
|
@ -217,6 +217,9 @@ async fn next_state(
|
|||
|
||||
tracing::info!("Private view key: {}", serde_json::to_string(&view_key)?);
|
||||
|
||||
let address = monero::Address::subaddress(monero::Network::Mainnet, monero::PublicKey::from_private_key(&spend_key), monero::PublicKey::from(view_key.public()));
|
||||
tracing::info!("Address: {}", address.to_string());
|
||||
|
||||
let wallet_file_name = swap_id.to_string();
|
||||
if let Err(e) = monero_wallet
|
||||
.create_from_and_load(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue