Skip to content

Commit 6e1ab15

Browse files
committed
Remove TODOs
1 parent 2b3dd97 commit 6e1ab15

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lightning-invoice/src/payment.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1672,13 +1672,11 @@ mod tests {
16721672
fn abandon_payment(&self, _payment_id: PaymentId) { }
16731673

16741674
fn send_probe_payment(&self, route: &Route) -> Result<PaymentId, PaymentSendFailure> {
1675-
// TODO: for now copied from spontaneous, figure out what to do here.
16761675
self.check_value_msats(Amount::Spontaneous(route.get_total_amount()));
16771676
self.check_attempts()
16781677
}
16791678

16801679
fn payment_is_probe(&self, _payment_hash: PaymentHash, _payment_id: PaymentId) -> bool {
1681-
// TODO: figure out what to do here.
16821680
false
16831681
}
16841682
}

0 commit comments

Comments
 (0)