mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 22:04:21 +01:00
Update connecting_lsp.go
Co-authored-by: Ross Savage <551697+dangeross@users.noreply.github.com>
This commit is contained in:
@@ -18,8 +18,8 @@ func GetLspInfo() {
|
|||||||
|
|
||||||
func ListLsps() {
|
func ListLsps() {
|
||||||
// ANCHOR: list-lsps
|
// ANCHOR: list-lsps
|
||||||
if err := sdk.ListLsps(); err != nil {
|
if lspList, err := sdk.ListLsps(); err == nil {
|
||||||
log.Printf("%#v", err)
|
log.Printf("%#v", lspList)
|
||||||
}
|
}
|
||||||
// ANCHOR_END: list-lsps
|
// ANCHOR_END: list-lsps
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user