diff --git a/fundingmanager.go b/fundingmanager.go index b7b5af8b..8f2ef649 100644 --- a/fundingmanager.go +++ b/fundingmanager.go @@ -1441,6 +1441,11 @@ func (f *fundingManager) handleFundingCreated(fmsg *fundingCreatedMsg) { case <-timeoutChan: // We did not see the funding confirmation before // timeout, so we forget the channel. + err := fmt.Errorf("timeout waiting for funding tx "+ + "(%v) to confirm", completeChan.FundingOutpoint) + fndgLog.Warnf(err.Error()) + f.failFundingFlow(fmsg.peerAddress.IdentityKey, + pendingChanID, err) deleteFromDatabase() return case <-f.quit: