Print address instead of subaddress

This commit is contained in:
rishflab 2021-09-24 14:33:07 +10:00
parent d08ad8f0a1
commit 8f9824d58e

View File

@ -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();