mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-29 16:53:34 +02:00
Merge pull request #2104 from wpaulino/funding-broadcast-err
fundingmanager: identify tx on funding broadcast error
This commit is contained in:
@@ -504,8 +504,9 @@ func (f *fundingManager) Start() error {
|
|||||||
|
|
||||||
err := f.cfg.PublishTransaction(channel.FundingTxn)
|
err := f.cfg.PublishTransaction(channel.FundingTxn)
|
||||||
if err != nil && err != lnwallet.ErrDoubleSpend {
|
if err != nil && err != lnwallet.ErrDoubleSpend {
|
||||||
fndgLog.Warnf("unable to rebroadcast funding "+
|
fndgLog.Errorf("Unable to rebroadcast funding "+
|
||||||
"txn: %v", err)
|
"tx for ChannelPoint(%v): %v",
|
||||||
|
channel.FundingOutpoint, err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1591,8 +1592,9 @@ func (f *fundingManager) handleFundingSigned(fmsg *fundingSignedMsg) {
|
|||||||
|
|
||||||
err = f.cfg.PublishTransaction(fundingTx)
|
err = f.cfg.PublishTransaction(fundingTx)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fndgLog.Errorf("unable to broadcast funding "+
|
fndgLog.Errorf("Unable to broadcast funding tx for "+
|
||||||
"txn: %v", err)
|
"ChannelPoint(%v): %v", completeChan.FundingOutpoint,
|
||||||
|
err)
|
||||||
// We failed to broadcast the funding transaction, but watch
|
// We failed to broadcast the funding transaction, but watch
|
||||||
// the channel regardless, in case the transaction made it to
|
// the channel regardless, in case the transaction made it to
|
||||||
// the network. We will retry broadcast at startup.
|
// the network. We will retry broadcast at startup.
|
||||||
|
Reference in New Issue
Block a user