Skip to content

Commit a98e161

Browse files
sputn1ckhieblmi
authored andcommitted
loopd/staticaddr: add ntfn manager
1 parent 3f6759c commit a98e161

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

loopd/daemon.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,7 @@ func (d *Daemon) initialize(withMacaroonService bool) error {
638638
Store: staticAddressLoopInStore,
639639
WalletKit: d.lnd.WalletKit,
640640
ChainNotifier: d.lnd.ChainNotifier,
641+
NotificationManager: notificationManager,
641642
ChainParams: d.lnd.ChainParams,
642643
Signer: d.lnd.Signer,
643644
ValidateLoopInContract: loop.ValidateLoopInContract,

loopd/swapclient_server.go

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1796,14 +1796,11 @@ func toClientStaticAddressLoopInState(
17961796
case loopin.HtlcTimeoutSwept:
17971797
return looprpc.StaticAddressLoopInSwapState_HTLC_STATIC_ADDRESS_TIMEOUT_SWEPT
17981798

1799-
case loopin.FetchSignPushSweeplessSweepTx:
1800-
return looprpc.StaticAddressLoopInSwapState_FETCH_SIGN_PUSH_SWEEPLESS_SWEEP_TX
1801-
18021799
case loopin.Succeeded:
18031800
return looprpc.StaticAddressLoopInSwapState_SUCCEEDED
18041801

1805-
case loopin.SucceededSweeplessSigFailed:
1806-
return looprpc.StaticAddressLoopInSwapState_SUCCEEDED_SWEEPLESS_SIG_FAILED
1802+
case loopin.SucceededTransitioningFailed:
1803+
return looprpc.StaticAddressLoopInSwapState_SUCCEEDED_TRANSITIONING_FAILED
18071804

18081805
case loopin.UnlockDeposits:
18091806
return looprpc.StaticAddressLoopInSwapState_UNLOCK_DEPOSITS

0 commit comments

Comments
 (0)