From 2ff6c1d409aaf2ddf92f1de7e76164af579eeb78 Mon Sep 17 00:00:00 2001 From: lollerfirst Date: Tue, 28 Jan 2025 23:00:20 +0100 Subject: [PATCH] try 4 --- crates/cdk-lnd/src/error.rs | 2 +- crates/cdk-lnd/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/cdk-lnd/src/error.rs b/crates/cdk-lnd/src/error.rs index 218f4b95..f07f52b2 100644 --- a/crates/cdk-lnd/src/error.rs +++ b/crates/cdk-lnd/src/error.rs @@ -27,7 +27,7 @@ pub enum Error { #[error("LND missing last hop in route")] MissingLastHop, /// LND could not find any route to payee node - #[error("LND missing MPP record in last hop")] + #[error("LND No route to target node")] NoRoute, } diff --git a/crates/cdk-lnd/src/lib.rs b/crates/cdk-lnd/src/lib.rs index 96e2c679..eafa93bd 100644 --- a/crates/cdk-lnd/src/lib.rs +++ b/crates/cdk-lnd/src/lib.rs @@ -261,7 +261,7 @@ impl MintLightning for Lnd { .lock() .await .lightning() - .query_routes(fedimint_tonic_lnd::tonic::Request::new(route_req)) + .query_routes(route_req) .await .map_err(|_| Error::NoRoute)? .into_inner();