fix wrong datadir in app cache using remote backend

This commit is contained in:
edouardparis 2024-08-23 16:56:22 +02:00
parent 9707a58ee2
commit 8610afeea6

View File

@ -480,7 +480,7 @@ pub fn create_app_with_remote_backend(
network: bitcoin::Network::Signet,
coins: Vec::new(),
rescan_progress: None,
datadir_path: default_datadir().unwrap(),
datadir_path: datadir.clone(),
blockheight: wallet.tip_height.unwrap_or(0),
},
Arc::new(