routing: add new error for spent channel UTXOs
This commit is contained in:
2 files changed
+7
-1
No files matched your search
+2
-1
@@ -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