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.
1 parent 4892285 commit d31760dCopy full SHA for d31760d
lightning/src/util/sweep.rs
@@ -640,14 +640,12 @@ where
640
) -> Pin<Box<dyn Future<Output = Result<(), io::Error>> + 'a + Send>> {
641
let encoded = &sweeper_state.encode();
642
643
- let result = self.kv_store.write(
+ self.kv_store.write(
644
OUTPUT_SWEEPER_PERSISTENCE_PRIMARY_NAMESPACE,
645
OUTPUT_SWEEPER_PERSISTENCE_SECONDARY_NAMESPACE,
646
OUTPUT_SWEEPER_PERSISTENCE_KEY,
647
encoded,
648
- );
649
-
650
- Box::pin(async move { result })
+ )
651
}
652
653
fn spend_outputs(
0 commit comments