mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-12 04:55:43 +02:00
funding: ensure reservation contexts are remove in the case of workflow error
This commit is contained in:
@@ -197,7 +197,7 @@ func newServer(listenAddrs []string, notifier chainntnfs.ChainNotifier,
|
||||
s.rpcServer = newRpcServer(s)
|
||||
s.breachArbiter = newBreachArbiter(wallet, chanDB, notifier, s.htlcSwitch)
|
||||
|
||||
s.fundingMgr, err = newFundingManager(FundingConfig{
|
||||
s.fundingMgr, err = newFundingManager(fundingConfig{
|
||||
Wallet: wallet,
|
||||
ArbiterChan: s.breachArbiter.newContracts,
|
||||
SendToPeer: s.sendToPeer,
|
||||
|
Reference in New Issue
Block a user