We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
CONSIDERED_SPENT - 1
1 parent b74476b commit d465be7Copy full SHA for d465be7
src/sweep.rs
@@ -314,7 +314,7 @@ where
314
// Prune all outputs that have sufficient depth by now.
315
locked_outputs.retain(|o| {
316
if let Some((conf_height, _)) = o.confirmed_in_block {
317
- if height >= conf_height + CONSIDERED_SPENT_THRESHOLD_CONF {
+ if height >= conf_height + CONSIDERED_SPENT_THRESHOLD_CONF - 1 {
318
let key = hex_utils::to_string(&o.id);
319
match self.kv_store.remove(SPENDABLE_OUTPUT_INFO_PERSISTENCE_NAMESPACE, &key) {
320
Ok(_) => return false,
0 commit comments