funding: don't send a funding error in the case of a funding timeout
This commit is contained in:
1 file changed
-2
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user