Skip to content

Commit

Permalink
Merge pull request #1893 from getAlby/feature/lnd-routermc
Browse files Browse the repository at this point in the history
Feature/lnd routermc
  • Loading branch information
bumi authored Dec 20, 2022
2 parents 878a993 + 6b47703 commit b40f686
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/extension/background-script/connectors/lnd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ const methods: Record<string, Record<string, string>> = {
path: "/v1/payreq/{{pay_req}}",
httpMethod: "GET",
},
routermc: {
path: "/v2/router/mc",
httpMethod: "GET",
},
};

const pathTemplateParser = (
Expand Down
3 changes: 2 additions & 1 deletion src/i18n/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,8 @@
"queryroutes": "Query for a possible route.",
"verifymessage": "Verify a signature over a msg.",
"sendtoroute": "Make a payment via the specified route.",
"decodepayreq": "Decode a payment request string."
"decodepayreq": "Decode a payment request string.",
"routermc": "Read the internal mission control state."
}
}
}

0 comments on commit b40f686

Please sign in to comment.