mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-07-17 16:42:39 +02:00
routing: add new error for spent channel UTXOs
This commit is contained in:
@ -1354,7 +1354,8 @@ func (r *ChannelRouter) processUpdate(msg interface{},
|
||||
r.quit,
|
||||
)
|
||||
if err != nil {
|
||||
return fmt.Errorf("unable to fetch utxo "+
|
||||
|
||||
return newErrf(ErrChannelSpent, "unable to fetch utxo "+
|
||||
"for chan_id=%v, chan_point=%v: %v",
|
||||
msg.ChannelID, fundingPoint, err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user