mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-30 23:53:41 +02:00
lnwire: address linter error
This commit is contained in:
@@ -506,10 +506,10 @@ func (f *FailTemporaryChannelFailure) Code() FailCode {
|
||||
func (f FailTemporaryChannelFailure) Error() string {
|
||||
if f.Update == nil {
|
||||
return f.Code().String()
|
||||
} else {
|
||||
return fmt.Sprintf("TemporaryChannelFailure(update=%v)",
|
||||
spew.Sdump(f.Update))
|
||||
}
|
||||
|
||||
return fmt.Sprintf("TemporaryChannelFailure(update=%v)",
|
||||
spew.Sdump(f.Update))
|
||||
}
|
||||
|
||||
// Decode decodes the failure from bytes stream.
|
||||
|
Reference in New Issue
Block a user