mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
multi: add cancel swap function to execute config
This commit is contained in:
parent
4040bb356d
commit
16111352a8
6 changed files with 11 additions and 0 deletions
|
|
@ -73,6 +73,7 @@ func TestLoopOutPaymentParameters(t *testing.T) {
|
|||
blockEpochChan: blockEpochChan,
|
||||
timerFactory: timerFactory,
|
||||
loopOutMaxParts: maxParts,
|
||||
cancelSwap: server.CancelLoopOutSwap,
|
||||
}, height)
|
||||
if err != nil {
|
||||
log.Error(err)
|
||||
|
|
@ -173,6 +174,7 @@ func TestLateHtlcPublish(t *testing.T) {
|
|||
sweeper: sweeper,
|
||||
blockEpochChan: blockEpochChan,
|
||||
timerFactory: timerFactory,
|
||||
cancelSwap: server.CancelLoopOutSwap,
|
||||
}, height)
|
||||
if err != nil {
|
||||
log.Error(err)
|
||||
|
|
@ -267,6 +269,7 @@ func TestCustomSweepConfTarget(t *testing.T) {
|
|||
blockEpochChan: blockEpochChan,
|
||||
timerFactory: timerFactory,
|
||||
sweeper: sweeper,
|
||||
cancelSwap: server.CancelLoopOutSwap,
|
||||
}, ctx.Lnd.Height)
|
||||
if err != nil {
|
||||
log.Error(err)
|
||||
|
|
@ -461,6 +464,7 @@ func TestPreimagePush(t *testing.T) {
|
|||
blockEpochChan: blockEpochChan,
|
||||
timerFactory: timerFactory,
|
||||
sweeper: sweeper,
|
||||
cancelSwap: server.CancelLoopOutSwap,
|
||||
}, ctx.Lnd.Height)
|
||||
if err != nil {
|
||||
log.Error(err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue