Skip to content

Commit

Permalink
try 4
Browse files Browse the repository at this point in the history
  • Loading branch information
lollerfirst committed Jan 28, 2025
1 parent 8e67af6 commit 2ff6c1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/cdk-lnd/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

Expand Down
2 changes: 1 addition & 1 deletion crates/cdk-lnd/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 2ff6c1d

Please # to comment.