Skip to content

Commit

Permalink
Merge #1234: fix wrong datadir in app cache using remote backend
Browse files Browse the repository at this point in the history
8610afe fix wrong datadir in app cache using remote backend (edouardparis)

Pull request description:

  Detected after Manuel failed to have in cache the correct the refresh token. It was not correctly stored after 1h in the settings file because of the wrong datadir.

ACKs for top commit:
  edouardparis:
    Self-ACK 8610afe

Tree-SHA512: 7bb6f1281d4642927dbb4a10183e5551a93137ca5e6cea09b906e23a3789684070fd00395aabe4711205db74ffad715ee8ba5bf7e728bf8c2b8327e3b9c5c329
  • Loading branch information
edouardparis committed Aug 23, 2024
2 parents 9707a58 + 8610afe commit 2253edd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 2253edd

Please sign in to comment.