routing: end path finding on an additional set of critical-ish errors
This commit is contained in:
parent
e06177e55c
commit
276f2e467b
@ -1293,25 +1293,29 @@ sendLoop:
|
||||
if err := r.applyChannelUpdate(&update); err != nil {
|
||||
return preImage, nil, err
|
||||
}
|
||||
continue
|
||||
|
||||
return preImage, nil, sendError
|
||||
case *lnwire.FailFeeInsufficient:
|
||||
update := onionErr.Update
|
||||
if err := r.applyChannelUpdate(&update); err != nil {
|
||||
return preImage, nil, err
|
||||
}
|
||||
continue
|
||||
|
||||
return preImage, nil, sendError
|
||||
case *lnwire.FailIncorrectCltvExpiry:
|
||||
update := onionErr.Update
|
||||
if err := r.applyChannelUpdate(&update); err != nil {
|
||||
return preImage, nil, err
|
||||
}
|
||||
continue
|
||||
|
||||
return preImage, nil, sendError
|
||||
case *lnwire.FailChannelDisabled:
|
||||
update := onionErr.Update
|
||||
if err := r.applyChannelUpdate(&update); err != nil {
|
||||
return preImage, nil, err
|
||||
}
|
||||
continue
|
||||
|
||||
return preImage, nil, sendError
|
||||
case *lnwire.FailTemporaryChannelFailure:
|
||||
update := onionErr.Update
|
||||
if err := r.applyChannelUpdate(update); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user