mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-26 08:55:59 +01:00
lnwire: address linter error
This commit is contained in:
parent
31b2f8c865
commit
0c9384d991
1 changed files with 3 additions and 3 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue