Skip to content

Commit

Permalink
upgrade to 118
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBlueMatt committed Oct 15, 2023
1 parent 88bd0ca commit b324bdf
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,16 @@ async fn handle_ldk_events(
}
fs_store.write("", "", OUTBOUND_PAYMENTS_FNAME, &outbound.encode()).unwrap();
}
Event::InvoiceRequestFailed { payment_id } => {
print!(
"\nEVENT: Failed to request invoice to send payment with id {}",
payment_id.0,
);
print!("> ");
io::stdout().flush().unwrap();

// TODO: mark the payment as failed
}
Event::PaymentForwarded {
prev_channel_id,
next_channel_id,
Expand Down

0 comments on commit b324bdf

Please sign in to comment.