mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 13:54:20 +01:00
Fix linter warnings for Swift snippets
This commit is contained in:
@@ -19,7 +19,13 @@ func withdraw(sdk: BlockingBreezServices) -> LnUrlWithdrawResult? {
|
||||
if case.lnUrlWithdraw(let `data`) = inputType {
|
||||
let amountMsat = data.maxWithdrawable
|
||||
let description = "Test withdraw"
|
||||
response = try? sdk.withdrawLnurl(request: LnUrlWithdrawRequest(data: data, amountMsat: amountMsat))
|
||||
response = try? sdk.withdrawLnurl(
|
||||
request: LnUrlWithdrawRequest(
|
||||
data: data,
|
||||
amountMsat: amountMsat,
|
||||
description: description
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
// ANCHOR_END: lnurl-withdraw
|
||||
|
||||
Reference in New Issue
Block a user