mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-23 14:40:30 +01:00
funding: don't send a funding error in the case of a funding timeout
This commit is contained in:
parent
3b2ed69638
commit
737eeedd49
1 changed files with 0 additions and 2 deletions
|
@ -1097,8 +1097,6 @@ func (f *fundingManager) handleFundingCreated(fmsg *fundingCreatedMsg) {
|
||||||
case <-timeoutChan:
|
case <-timeoutChan:
|
||||||
// We did not see the funding confirmation before
|
// We did not see the funding confirmation before
|
||||||
// timeout, so we forget the channel.
|
// timeout, so we forget the channel.
|
||||||
f.failFundingFlow(fmsg.peerAddress.IdentityKey,
|
|
||||||
pendingChanID, []byte(err.Error()))
|
|
||||||
deleteFromDatabase()
|
deleteFromDatabase()
|
||||||
case <-f.quit:
|
case <-f.quit:
|
||||||
// The fundingManager is shutting down, will resume
|
// The fundingManager is shutting down, will resume
|
||||||
|
|
Loading…
Add table
Reference in a new issue