htlcswitch/link: revert borking channels on received Errors

Since it turned out borking channels on every received error could cause
us to bork channels in case of a sync error with C-lightning, we revert
this for now.
This commit is contained in:
Johan T. Halseth committed 2020-11-23 14:42:41 +01:00
1 parent ca91d50884
commit 87cdf3b797
2 files changed
+12 -3

No files matched your search

+3 -1
View File
@@ -5273,7 +5273,9 @@ func TestChannelLinkFail(t *testing.T) {
c.HandleChannelUpdate(err)
},
false,
true,
// TODO(halseth) For compatibility with CL we currently
// don't treat Errors as permanent errors.
false,
},
}