mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2025-12-17 22:24:21 +01:00
routing: add new error for invalid funding tx rejection
This commit is contained in:
@@ -1309,8 +1309,9 @@ func (r *ChannelRouter) processUpdate(msg interface{},
|
||||
channelID := lnwire.NewShortChanIDFromInt(msg.ChannelID)
|
||||
fundingTx, err := r.fetchFundingTx(&channelID)
|
||||
if err != nil {
|
||||
return errors.Errorf("unable to fetch funding tx for "+
|
||||
"chan_id=%v: %v", msg.ChannelID, err)
|
||||
return newErrf(ErrNoFundingTransaction, "unable to "+
|
||||
"fetch funding tx for chan_id=%v: %v",
|
||||
msg.ChannelID, err)
|
||||
}
|
||||
|
||||
// Recreate witness output to be sure that declared in channel
|
||||
|
||||
Reference in New Issue
Block a user