misc: fix error formatting in multiple files
This commit is contained in:
1 parent
2b729a78f3
commit
556e3525ea
28 files changed
+91
-91
No files matched your search
@@ -386,7 +386,7 @@ func addToTopologyChange(graph *channeldb.ChannelGraph, update *TopologyChange,
|
||||
return nil
|
||||
|
||||
default:
|
||||
return fmt.Errorf("Unable to add to topology change, "+
|
||||
return fmt.Errorf("unable to add to topology change, "+
|
||||
"unknown message type %T", msg)
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user