From 4ebb52c5f75db0b51d2b2e1c0a049d826e4dc732 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Sun, 20 Aug 2023 02:13:46 +0000 Subject: [PATCH] Correct directory path for spendables sweep --- src/sweep.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5