diff --git a/ldk-server/src/service.rs b/ldk-server/src/service.rs index 8e3d1ef..16ec58d 100644 --- a/ldk-server/src/service.rs +++ b/ldk-server/src/service.rs @@ -18,6 +18,9 @@ use crate::api::get_payment_details::{ handle_get_payment_details_request, GET_PAYMENT_DETAILS_PATH, }; use crate::api::list_channels::{handle_list_channels_request, LIST_CHANNELS_PATH}; +use crate::api::list_forwarded_payments::{ + handle_list_forwarded_payments_request, LIST_FORWARDED_PAYMENTS_PATH, +}; use crate::api::list_payments::{handle_list_payments_request, LIST_PAYMENTS_PATH}; use crate::api::onchain_receive::{handle_onchain_receive_request, ONCHAIN_RECEIVE_PATH}; use crate::api::onchain_send::{handle_onchain_send_request, ONCHAIN_SEND_PATH}; @@ -93,6 +96,9 @@ impl Service> for NodeService { LIST_PAYMENTS_PATH => { Box::pin(handle_request(context, req, handle_list_payments_request)) }, + LIST_FORWARDED_PAYMENTS_PATH => { + Box::pin(handle_request(context, req, handle_list_forwarded_payments_request)) + }, path => { let error = format!("Unknown request: {}", path).into_bytes(); Box::pin(async {