mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-10-01 01:45:40 -04:00
Print address instead of subaddress
This commit is contained in:
parent
d08ad8f0a1
commit
8f9824d58e
@ -217,7 +217,7 @@ 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()));
|
||||
let address = monero::Address::standard(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();
|
||||
|
Loading…
Reference in New Issue
Block a user