projects
/
ldk-sample
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5dc3629
)
Correct directory path for spendables sweep
author
Matt Corallo
<git@bluematt.me>
Sun, 20 Aug 2023 02:13:46 +0000
(
02:13
+0000)
committer
Matt Corallo
<git@bluematt.me>
Sun, 20 Aug 2023 02:13:46 +0000
(
02:13
+0000)
src/sweep.rs
patch
|
blob
|
history
diff --git
a/src/sweep.rs
b/src/sweep.rs
index a9ad6bdd8e3c0561959f251325b068703822551c..ad1e9ef4d8698993c2615fd7e0fccfd46114a6bb 100644
(file)
--- 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 =
// 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);
let processing_spendables_dir = format!("{}/processing_spendable_outputs", ldk_data_dir);
let spendables_dir = format!("{}/spendable_outputs", ldk_data_dir);