Browse Source

htlcswitch: add PermanentFailure to LinkFailureError

master
Johan T. Halseth 6 years ago
parent
commit
a6d2263569
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26
  1. 4
      htlcswitch/linkfailure.go

4
htlcswitch/linkfailure.go

@ -57,6 +57,10 @@ type LinkFailureError struct {
// because of this error.
ForceClose bool
// PermanentFailure indicates whether this failure is permanent, and
// the channel should not be attempted loaded again.
PermanentFailure bool
// SendData is a byte slice that will be sent to the peer. If nil a
// generic error will be sent.
SendData []byte

Loading…
Cancel
Save