diff --git a/channeldb/graph.go b/channeldb/graph.go index 5d9fac59d3..d23bb62523 100644 --- a/channeldb/graph.go +++ b/channeldb/graph.go @@ -301,7 +301,8 @@ func (c *ChannelGraph) getChannelMap(edges kvdb.RBucket) ( // Validate key length. if len(k) != 33+8 { - return fmt.Errorf("invalid edge key %x encountered", k) + log.Warnf("invalid edge key %x encountered", k) + return nil } var key channelMapKey