From: Matt Corallo Date: Sun, 20 Aug 2023 02:13:46 +0000 (+0000) Subject: Correct directory path for spendables sweep X-Git-Url: http://git.bitcoin.ninja/index.cgi?p=ldk-sample;a=commitdiff_plain;h=4ebb52c5f75db0b51d2b2e1c0a049d826e4dc732 Correct directory path for spendables sweep --- diff --git a/src/sweep.rs b/src/sweep.rs index a9ad6bd..ad1e9ef 100644 --- a/src/sweep.rs +++ b/src/sweep.rs @@ -36,7 +36,7 @@ pub(crate) async fn periodic_sweep( // Note that if you more tightly integrate your wallet with LDK you may not need to do this - // these outputs can just be treated as normal outputs during coin selection. let pending_spendables_dir = - format!("{}/{}", crate::PENDING_SPENDABLE_OUTPUT_DIR, ldk_data_dir); + format!("{}/{}", ldk_data_dir, crate::PENDING_SPENDABLE_OUTPUT_DIR); let processing_spendables_dir = format!("{}/processing_spendable_outputs", ldk_data_dir); let spendables_dir = format!("{}/spendable_outputs", ldk_data_dir);