Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This fix prevents an undefined error by better handling the case where the lnd client attempts a call when it is not in a valid status to make that call. Instead it throws the appropriate `UNAVAILABLE` error with a helpful message. Fixes #1367.
- Loading branch information
Showing
1 changed file
with
25 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters