Skip to content

Commit 3871ea1

Browse files
committed
f: Remove spurious _persistence_guard check
- The _persistence_guard here was not serving any purpose, and hence can be removed in this refactoring.
1 parent 52efad1 commit 3871ea1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lightning/src/offers/flow.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1162,9 +1162,6 @@ where
11621162
return Err(Bolt12SemanticError::UnsupportedChain);
11631163
}
11641164

1165-
// TODO: Add persistance through `commons` internal function. Shouldn't be exposed here.
1166-
// let _persistence_guard = PersistenceNotifierGuard::notify_on_drop(&*self.commons);
1167-
11681165
match self.commons.create_inbound_payment(Some(amount_msats), relative_expiry, None) {
11691166
Ok((payment_hash, payment_secret)) => {
11701167
let payment_context = PaymentContext::Bolt12Refund(Bolt12RefundContext {});

0 commit comments

Comments
 (0)