mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-15 03:51: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) ||
|
if exists && lastUpdate.After(msg.LastUpdate) ||
|
||||||
lastUpdate.Equal(msg.LastUpdate) {
|
lastUpdate.Equal(msg.LastUpdate) {
|
||||||
|
|
||||||
return newErrf(ErrOutdated, "ignoring outdated "+
|
return newErrf(ErrOutdated, "Ignoring outdated "+
|
||||||
"announcement for %x", msg.PubKey.SerializeCompressed())
|
"announcement for %x", msg.PubKey.SerializeCompressed())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -547,7 +547,7 @@ func (r *ChannelRouter) processUpdate(msg interface{}) error {
|
||||||
|
|
||||||
} else if exists {
|
} else if exists {
|
||||||
|
|
||||||
return newErrf(ErrIgnored, "ignoring msg for known "+
|
return newErrf(ErrIgnored, "Ignoring msg for known "+
|
||||||
"chan_id=%v", msg.ChannelID)
|
"chan_id=%v", msg.ChannelID)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -629,7 +629,7 @@ func (r *ChannelRouter) processUpdate(msg interface{}) error {
|
||||||
case 0:
|
case 0:
|
||||||
if edge1Timestamp.After(msg.LastUpdate) ||
|
if edge1Timestamp.After(msg.LastUpdate) ||
|
||||||
edge1Timestamp.Equal(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,
|
"(flags=%v) for known chan_id=%v", msg.Flags,
|
||||||
msg.ChannelID)
|
msg.ChannelID)
|
||||||
|
|
||||||
|
@ -641,7 +641,7 @@ func (r *ChannelRouter) processUpdate(msg interface{}) error {
|
||||||
if edge2Timestamp.After(msg.LastUpdate) ||
|
if edge2Timestamp.After(msg.LastUpdate) ||
|
||||||
edge2Timestamp.Equal(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,
|
"(flags=%v) for known chan_id=%v", msg.Flags,
|
||||||
msg.ChannelID)
|
msg.ChannelID)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue