misc: fix error formatting in multiple files

This commit is contained in:
Andras Banki-Horvath committed 2020-04-24 19:15:08 +02:00
1 parent 2b729a78f3
commit 556e3525ea
28 files changed
+91 -91

No files matched your search

+1 -1
View File
@@ -2197,7 +2197,7 @@ func (r *ChannelRouter) ForAllOutgoingChannels(cb func(*channeldb.ChannelEdgeInf
e, _ *channeldb.ChannelEdgePolicy) error {
if e == nil {
return fmt.Errorf("Channel from self node has no policy")
return fmt.Errorf("channel from self node has no policy")
}
return cb(c, e)