Skip to content

Commit

Permalink
[TASK] Update docs according to self payment feature
Browse files Browse the repository at this point in the history
  • Loading branch information
thespielplatz committed Apr 7, 2023
1 parent d9cddff commit 6977eb7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,6 @@ function errorPaymentToNodeNotAllowed(res) {
return res.send({
error: true,
code: 12,
message: 'This LNDHub instance does not allow payments other then issued by LNDHub.',
message: 'This LNDHub instance does not allow self payments other then issued by this LNDHub',
});
}
7 changes: 7 additions & 0 deletions doc/Send-requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,13 @@ Response is always JSON.
5 | Lnd route not found
6 | General server error
7 | LND failure
8 | Bad arguments
9 | Your previous payment is in transit. Try again in 5 minutes
10 | Payment failed. Does the receiver have enough inbound capacity?
11 | This LNDHub instance is not accepting any more users
11 | This LNDHub instance is scheduled to shut down. Withdraw any remaining funds
12 | This LNDHub instance does not allow self payments other then issued by this LNDHub



## POST /create
Expand Down

0 comments on commit 6977eb7

Please sign in to comment.