Persist and expose BIP353 addresses (#718)

* Persist and expose BIP353 addresses

* Increment schema minor version

* Move bip353 address from LNURL context to SendDestination

* Update after sdk-common merge

* Address review

* Only try to insert bip353 address when available
This commit is contained in:
Daniel Granhão
2025-02-11 15:29:16 +00:00
committed by GitHub
parent b5e1f2963d
commit fc03572588
27 changed files with 526 additions and 124 deletions

View File

@@ -110,7 +110,7 @@ class SwapUpdatedTask : TaskProtocol {
switch details {
case let .bitcoin(swapId, _, _, _, _, _, _, _):
return swapId
case let .lightning(swapId, _, _, _, _, _, _, _, _, _, _, _):
case let .lightning(swapId, _, _, _, _, _, _, _, _, _, _, _, _):
return swapId
default:
break
@@ -123,7 +123,7 @@ class SwapUpdatedTask : TaskProtocol {
switch details {
case let .bitcoin(_, _, _, _, _, claimTxId, _, _):
return claimTxId != nil
case let .lightning( _, _, _, _, _, _, _, _, _, claimTxId, _, _):
case let .lightning(_, _, _, _, _, _, _, _, _, _, claimTxId, _, _):
return claimTxId != nil
default:
return false