mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2025-12-23 17:04:25 +01:00
Add user lockup_tx_id to Bitcoin payment details (#918)
This commit is contained in:
@@ -108,7 +108,7 @@ class SwapUpdatedTask : TaskProtocol {
|
||||
func getSwapId(details: PaymentDetails?) -> String? {
|
||||
if let details = details {
|
||||
switch details {
|
||||
case let .bitcoin(swapId, _, _, _, _, _, _, _):
|
||||
case let .bitcoin(swapId, _, _, _, _, _, _, _, _):
|
||||
return swapId
|
||||
case let .lightning(swapId, _, _, _, _, _, _, _, _, _, _, _, _):
|
||||
return swapId
|
||||
@@ -121,7 +121,7 @@ class SwapUpdatedTask : TaskProtocol {
|
||||
|
||||
func paymentClaimIsBroadcasted(details: PaymentDetails) -> Bool {
|
||||
switch details {
|
||||
case let .bitcoin(_, _, _, _, _, claimTxId, _, _):
|
||||
case let .bitcoin(_, _, _, _, _, _, claimTxId, _, _):
|
||||
return claimTxId != nil
|
||||
case let .lightning(_, _, _, _, _, _, _, _, _, _, claimTxId, _, _):
|
||||
return claimTxId != nil
|
||||
|
||||
Reference in New Issue
Block a user