mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 05:44:20 +01:00
Fix return types for swift and dart
This commit is contained in:
@@ -16,10 +16,11 @@ func getLspInfo(sdk: BlockingBreezServices) -> LspInformation?{
|
||||
return lspInfo
|
||||
}
|
||||
|
||||
func listLsps(sdk: BlockingBreezServices) {
|
||||
func listLsps(sdk: BlockingBreezServices) -> [LspInformation]? {
|
||||
// ANCHOR: list-lsps
|
||||
let availableLsps = try? sdk.listLsps()
|
||||
// ANCHOR_END: list-lsps
|
||||
return availableLsps
|
||||
}
|
||||
|
||||
func connectLsp(sdk: BlockingBreezServices, lspId: String) {
|
||||
|
||||
Reference in New Issue
Block a user