Skip to content

Commit

Permalink
Add CounterpartySweepTx
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenlu committed Apr 12, 2024
1 parent f80f5fe commit b9a258a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lightspark-crypto-go/signing.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ type FundsRecoveryResponse struct{
SweepTx string
HtlcInboundTx []Pair
HtlcOutboundTx []Pair
CounterpartySweepTx string
CounterpartyHtlcInboundTx []string
CounterpartyHtlcOutboundTx []string
}
Expand All @@ -248,6 +249,7 @@ func SignTransactions (masterSeed string, data string, network BitcoinNetwork) (
SweepTx: resp.SweepTx,
HtlcInboundTx: toPairArray(resp.HtlcInboundTx),
HtlcOutboundTx: toPairArray(resp.HtlcOutboundTx),
CounterpartySweepTx: resp.CounterpartySweepTx,
CounterpartyHtlcInboundTx: resp.CounterpartyHtlcInboundTx,
CounterpartyHtlcOutboundTx: resp.CounterpartyHtlcOutboundTx,
}, nil
Expand Down

0 comments on commit b9a258a

Please sign in to comment.