funding: ensure reservation contexts are remove in the case of workflow error

This commit is contained in:
Olaoluwa Osuntokun committed 2017-02-22 14:51:45 -08:00
1 parent bd775b9bb3
commit 2636e654be
2 files changed
+60 -13

No files matched your search

+1 -1
View File
@@ -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,