Skip to content

Commit 4ebb52c

Browse files
committed
Correct directory path for spendables sweep
1 parent 5dc3629 commit 4ebb52c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sweep.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pub(crate) async fn periodic_sweep(
3636
// Note that if you more tightly integrate your wallet with LDK you may not need to do this -
3737
// these outputs can just be treated as normal outputs during coin selection.
3838
let pending_spendables_dir =
39-
format!("{}/{}", crate::PENDING_SPENDABLE_OUTPUT_DIR, ldk_data_dir);
39+
format!("{}/{}", ldk_data_dir, crate::PENDING_SPENDABLE_OUTPUT_DIR);
4040
let processing_spendables_dir = format!("{}/processing_spendable_outputs", ldk_data_dir);
4141
let spendables_dir = format!("{}/spendable_outputs", ldk_data_dir);
4242

0 commit comments

Comments
 (0)