wallet: do not scan outputs for new wallet

This commit is contained in:
ardocrat
2025-05-29 00:38:45 +03:00
parent d42ef102b2
commit fbb084f636
10 changed files with 199 additions and 50 deletions
+1 -1
View File
@@ -588,7 +588,7 @@ impl Handler {
let mut state = self.current_state.write();
let wallet_listener_url = if !config.burn_reward {
if let Ok(id) = config.wallet_listener_url.parse::<i64>() {
if let Some(port) = WalletConfig::api_port_by_id(id) {
if let Some(port) = WalletConfig::read_api_port_by_id(id) {
let url = format!("http://127.0.0.1:{}", port);
Some(url)
} else {