diff --git a/channeldb/graph.go b/channeldb/graph.go index 1a0b01ce43..74e152e6aa 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