mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
multi: bump lnd compile time dependency to v0.18.4-beta
This commit is contained in:
parent
b1719de5b9
commit
93525d3edf
13 changed files with 102 additions and 54 deletions
|
|
@ -69,9 +69,12 @@ func ObtainSwapPaymentAddr(swapInvoice string, chainParams *chaincfg.Params) (
|
|||
return nil, err
|
||||
}
|
||||
|
||||
if swapPayReq.PaymentAddr == nil {
|
||||
return nil, fmt.Errorf("expected payment address for invoice")
|
||||
payAddr, err := swapPayReq.PaymentAddr.UnwrapOrErr(
|
||||
fmt.Errorf("expected payment address for invoice"),
|
||||
)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return swapPayReq.PaymentAddr, nil
|
||||
return &payAddr, nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue