@@ -1044,7 +1044,6 @@ impl OutboundPayments {
1044
1044
hash_map:: Entry :: Occupied ( entry) => match entry. get ( ) {
1045
1045
PendingOutboundPayment :: InvoiceReceived { .. } => {
1046
1046
let ( retryable_payment, onion_session_privs) = Self :: create_pending_payment (
1047
- // FIXME: remove the bolt12_invoice here! we need to clean up this part!
1048
1047
payment_hash, recipient_onion. clone ( ) , keysend_preimage, None , Some ( bolt12_invoice. clone ( ) ) , & route,
1049
1048
Some ( retry_strategy) , payment_params, entropy_source, best_block_height,
1050
1049
) ;
@@ -1056,7 +1055,6 @@ impl OutboundPayments {
1056
1055
invoice_request
1057
1056
} else { unreachable ! ( ) } ;
1058
1057
let ( retryable_payment, onion_session_privs) = Self :: create_pending_payment (
1059
- // FIXME: We do not need anymore the bolt12_invoice here! we need to clean up this part!
1060
1058
payment_hash, recipient_onion. clone ( ) , keysend_preimage, Some ( invreq) , Some ( bolt12_invoice. clone ( ) ) , & route,
1061
1059
Some ( retry_strategy) , payment_params, entropy_source, best_block_height
1062
1060
) ;
@@ -2067,7 +2065,6 @@ impl OutboundPayments {
2067
2065
let mut outbounds = self . pending_outbound_payments . lock ( ) . unwrap ( ) ;
2068
2066
let mut pending_events = pending_events. lock ( ) . unwrap ( ) ;
2069
2067
for source in sources {
2070
- // TODO(vincenzopalazzo): This should contain the paid bolt12 invoice.
2071
2068
if let HTLCSource :: OutboundRoute { session_priv, payment_id, path, .. } = source {
2072
2069
let mut session_priv_bytes = [ 0 ; 32 ] ;
2073
2070
session_priv_bytes. copy_from_slice ( & session_priv[ ..] ) ;
0 commit comments