mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-13 11:09:23 +01:00
routing: capitalize first letter of new error messages
This commit is contained in:
parent
4924c39042
commit
41a54145a7
1 changed files with 4 additions and 4 deletions
|
@ -525,7 +525,7 @@ func (r *ChannelRouter) processUpdate(msg interface{}) error {
|
|||
if exists && lastUpdate.After(msg.LastUpdate) ||
|
||||
lastUpdate.Equal(msg.LastUpdate) {
|
||||
|
||||
return newErrf(ErrOutdated, "ignoring outdated "+
|
||||
return newErrf(ErrOutdated, "Ignoring outdated "+
|
||||
"announcement for %x", msg.PubKey.SerializeCompressed())
|
||||
}
|
||||
|
||||
|
@ -547,7 +547,7 @@ func (r *ChannelRouter) processUpdate(msg interface{}) error {
|
|||
|
||||
} else if exists {
|
||||
|
||||
return newErrf(ErrIgnored, "ignoring msg for known "+
|
||||
return newErrf(ErrIgnored, "Ignoring msg for known "+
|
||||
"chan_id=%v", msg.ChannelID)
|
||||
}
|
||||
|
||||
|
@ -629,7 +629,7 @@ func (r *ChannelRouter) processUpdate(msg interface{}) error {
|
|||
case 0:
|
||||
if edge1Timestamp.After(msg.LastUpdate) ||
|
||||
edge1Timestamp.Equal(msg.LastUpdate) {
|
||||
return newErrf(ErrIgnored, "ignoring announcement "+
|
||||
return newErrf(ErrIgnored, "Ignoring announcement "+
|
||||
"(flags=%v) for known chan_id=%v", msg.Flags,
|
||||
msg.ChannelID)
|
||||
|
||||
|
@ -641,7 +641,7 @@ func (r *ChannelRouter) processUpdate(msg interface{}) error {
|
|||
if edge2Timestamp.After(msg.LastUpdate) ||
|
||||
edge2Timestamp.Equal(msg.LastUpdate) {
|
||||
|
||||
return newErrf(ErrIgnored, "ignoring announcement "+
|
||||
return newErrf(ErrIgnored, "Ignoring announcement "+
|
||||
"(flags=%v) for known chan_id=%v", msg.Flags,
|
||||
msg.ChannelID)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue