funding: in failFundingFlow properly embed passed error

This commit is contained in:
Olaoluwa Osuntokun 2017-09-12 22:38:37 +02:00
parent 8a208ae3cd
commit 3b2ed69638
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21
1 changed files with 1 additions and 1 deletions

View File

@ -551,7 +551,7 @@ func (f *fundingManager) failFundingFlow(peer *btcec.PublicKey,
errMsg := &lnwire.Error{
ChanID: tempChanID,
Data: lnwire.ErrorData{byte(lnwire.ErrChanTooLarge)},
Data: msg,
}
fndgLog.Errorf("Failing funding flow: %v", spew.Sdump(errMsg))